|
EntityPreInsertionCallback | m_preInsertionCallback |
|
EntitySpawnCallback | m_completionCallback |
|
AZ::SerializeContext * | m_serializeContext { nullptr } |
| The Serialize Context used to clone entities with. If this is not provided the global Serialize Contetx will be used.
|
|
SpawnablePriority | m_priority { SpawnablePriority_Default } |
| The priority at which this call will be executed.
|
|
◆ m_completionCallback
EntitySpawnCallback AzFramework::SpawnAllEntitiesOptionalArgs::m_completionCallback |
Callback that's called when spawning entities has completed. This can be triggered from a different thread than the one that made the function call to spawn. The returned list of entities contains all the newly created entities.
◆ m_preInsertionCallback
EntityPreInsertionCallback AzFramework::SpawnAllEntitiesOptionalArgs::m_preInsertionCallback |
Callback that's called after instances of entities have been created, but before they're spawned into the world. This gives the opportunity to modify the entities if needed such as injecting additional components or modifying components.
The documentation for this struct was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Spawnable/SpawnableEntitiesInterface.h