Synced
SceneWorld
Section titled “SceneWorld”
- Owns the loaded scene set and lifecycle state for one isolated runtime session.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Scene
Declaration
Section titled “Declaration”public sealed class Inno.Scene.SceneWorld : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | SceneWorld.Constructor | Creates an empty scene world bound to one session identity allocator. |
| Methods | SceneWorld.ConfigurePrefabInstantiation | Binds the session-owned serialization and asset generations used by scene prefab instances. |
| Methods | SceneWorld.Dispose | Unloads every scene and permanently releases this world. |
| Methods | SceneWorld.EnterScope | Binds this world and its identity allocator to the current asynchronous execution context. |
| Methods | SceneWorld.Find | Resolves a live scene object by its persistent identity within this world. |
| Methods | SceneWorld.FixedUpdate | Advances fixed-step lifecycle callbacks for every loaded scene. |
| Methods | SceneWorld.GetSceneIndex | Gets the hierarchy index of a loaded scene. |
| Methods | SceneWorld.LateUpdate | Advances late lifecycle callbacks for every loaded scene. |
| Methods | SceneWorld.LoadNewScene | Creates and loads a new active scene. |
| Methods | SceneWorld.LoadNewSceneAdditive | Creates and additively loads a new scene. |
| Methods | SceneWorld.LoadScene | Replaces the loaded set with one scene and makes it active. |
| Methods | SceneWorld.LoadSceneAdditive | Loads a scene alongside the existing scene set. |
| Methods | SceneWorld.MoveGameObjectToScene | Moves a live object subtree between two scenes loaded by this world. |
| Methods | SceneWorld.SetActiveScene | Makes one loaded scene active without changing the loaded set. |
| Methods | SceneWorld.SetSceneIndex | Moves a loaded scene to a hierarchy index without changing the active scene. |
| Methods | SceneWorld.UnloadActiveScene | Unloads the active scene when one exists. |
| Methods | SceneWorld.UnloadAllScenes | Unloads every scene while preserving the first lifecycle failure. |
| Methods | SceneWorld.UnloadScene | Unloads one scene and selects another loaded scene when necessary. |
| Methods | SceneWorld.Update | Advances variable-step lifecycle callbacks for every loaded scene. |
| Properties | SceneWorld.activeScene | Gets the scene currently selected for unqualified scene operations. |
| Properties | SceneWorld.hasActiveScene | Gets whether this world contains an active scene. |
| Properties | SceneWorld.loadedScenes | Gets an immutable snapshot of loaded scenes in hierarchy order. |