Class SceneNode

A base class for objects that can be part of a Scene and referenced by other objects. These objects are currently either of type SceneObject or Component.

  • Scene
  • SceneInstance
  • SceneObject
  • Component

Hierarchy (view full)

Constructors

Accessors

  • get editorMetaData(): Settings
  • Get the editor meta data.

    Returns Settings

    The API is only valid in the editor.

  • get isDestroyed(): boolean
  • Determines if the object has been destroyed.

    Returns boolean

  • get uuid(): UUID
  • Returns a universally unique identifier that persists scene save/load.

    Returns UUID

Methods

  • Locates a rsx object by its sceneRuntimeID and UUID.

    Parameters

    • sceneRuntimeID: number

      The runtime ID of the SceneInstance of the object.

    • uuid: Const<UUID>

      The UUID of the object to retrieve.

    Returns SceneNode

    The object or null if no object with given sceneRuntimeID and uuid has been registered