Click or drag to resize

SceneRegistry Class

Has reference to all currently active ImmerseSDK Scene objects
Inheritance Hierarchy
SystemObject
  ImmerseSDKSceneRegistry

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static class SceneRegistry

The SceneRegistry type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberSceneRegistry
Top
Properties
  NameDescription
Public propertyStatic memberLoadedScenes
Top
Methods
  NameDescription
Public methodStatic memberGetId
Get the ID of an object that exists within one of the loaded scenes
Public methodStatic memberGetObject
Get an object associated with a GUID in one of the loaded scenes
Public methodStatic memberGetScene
Gets the Scene object with the specified buildIndex
Public methodStatic memberTryGetId
Get the ID of an object that exists within one of the loaded scenes
Public methodStatic memberTryGetObject
Get an object associated with a GUID in one of the loaded scenes
Public methodStatic memberTryGetScene
Gets the Scene object with the specified buildIndex
Top
Events
  NameDescription
Public eventStatic memberOnSceneRegistered
Event triggered when a scene is registered with the SceneRegistry
Public eventStatic memberOnSceneUnregistered
Event triggered when a scene is unregistered from the SceneRegistry
Top
Fields
  NameDescription
Public fieldStatic memberDontDestroyOnLoadLoadIndex
Static index that can be used for indexing items at runtime in the DontDestroyOnLoad Scene
Top
See Also