struct
RTTIOperationEngineContext
Inherits:
RTTIOperationContext
Extended version of RTTIOperationContext for various operations performed on classes in the engine layer.
Public
Methods
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Fields
PreserveGameObjectIds
bool PreserveGameObjectIds
By default deserialization will persist existing IDs for game objects.
Setting this to false will generate brand new IDs on deserialization.
e.g. When loading a scene or a prefab resource, we wish to persist the original IDs in its internal game object collection. But when instantiating a copy of a prefab in the scene, we want to to have new unique IDs.
IsGameObjectDeserializationActive
bool IsGameObjectDeserializationActive
InitializeNewGameObjects
bool InitializeNewGameObjects
Determines should any newly deserialized game object should be initialized.
See SceneObject::Initialize().
GameObjectCollection
If deserializing game objects, collection to place them in.
CurrentSceneObjectEntity
ecs::Entity CurrentSceneObjectEntity
GameObjectIdRemapping
If provided, game object IDs will be remapped to provided values.
Flags
u32 Flags