class
Scene
Saveable hierarchy of scene objects that can be instantiated into a SceneInstance.
Public
Constructors
Scene
Methods
~Scene
Instantiate
Instantiates a scene by creating an instance of the scene object hierarchy.
AllowAsyncLoading
Returns whether or not this resource is allowed to be asynchronously loaded.
staticCreate
Creates a new scene from the provided scene object.
The provided scene object and all saveable children will be cloned as part of the scene.
staticGetRttiStatic
Internal
Methods
GetRoot
Returns a reference to the internal scene hierarchy.
Returned hierarchy is not instantiated and cannot be interacted with in a manner you would with normal scene objects.
GetGameObjectCollection
Returns the game object collection that owns all the game objects in the scene.
Instantiate
Instantiates a scene by creating an instance of the scene's scene object hierarchy.
The new hierarchy be set as the provided scene instance's root.
- inOutSceneInstance
- Scene instance into which to instantiate the scene instance in. If null, new scene instance will be created and output through this parameter.
Returns: Instantiated clone of the scene's scene object hierarchy.
ReplaceInternalHierarchy
Replaces the contents of this scene with new contents from the provided object.
Private
Methods
Fields
mRoot
mUUID
mGameObjectCollection
Collection owning the internal hierarchy.