Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::SpawnAllEntitiesOptionalArgs Struct Referencefinal

Public Attributes

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.
 

Member Data Documentation

◆ 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: