Creates a brand new scene with an empty root object.
OptionalisInternalConstructor: booleanThe active time of the scene, if the scene is in play mode.
A set of flags that customize the behavior of the scene instance.
Returns true if the scene has been destroyed.
Returns true if the scene has changes that need to be persisted.
Name of the scene.
Returns the manager that's responsible for tracking all the RSX objects and RSX object handles in this scene instance.
Determines the original scene resource this instance was created from.
Physical representation of the scene, as assigned by the physics sub-system. Exact implementation depends on the physics plugin used.
Gets the ScenePlayData for this instance.
Root object of the scene.
Returns an ID that uniquely identifies a scene instance at runtime.
Object containing scene-wide settings.
Creates a new SceneObject with the specified name. Object will be placed in the top of the scene hierarchy.
Name of the scene object.
Optionalflags: EnumValue<SceneObjectFlag, number>Optional flags that control object behavior. See SceneObjectFlags.
Newly created scene object.
Determines whether the specified flag is set on the scene instance.
Instantiates a template by creating an instance of the template's scene object hierarchy. The returned hierarchy will be parented to world root of the current scene.
Template resource to instantiate.
Instantiated clone of the template's scene object hierarchy.
Notifies the scene instance that changes were made to a particular scene object since the scene instance was persisted.
The UUID of the scene object to be marked as dirty.
Sets (or unsets) a flag from the scene instance.
ReadonlydidCalled when a scene object was added to the scene instance.
ReadonlywillCalled when a scene object is about to be removed from the scene instance.
ReadonlywillCalled before the object is about to be reparented to another object.
ReadonlydidCalled after the object has been reparent to another object.
ReadonlydidCalled after the scene object's active state was changed.
ReadonlydidCalled after the scene object's name was changed.
ReadonlydidCalled when a component was added to a scene object.
ReadonlywillCalled before a component is remvoed from a scene object.
ReadonlydidCalled after a component is removed from a scene object.
ReadonlydidCalled after the scene object's template link state was changed.
ReadonlywillCalled before the root scene object's will be changed.
ReadonlydidCalled after the root scene object's has changed.
ReadonlydidCalled when the dirty state of the scene changed.
Contains information about an instantiated scene.