Synced
SceneWorld.GetSceneIndex
Section titled “SceneWorld.GetSceneIndex”
- Gets the hierarchy index of a loaded scene.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public int Inno.Scene.SceneWorld.GetSceneIndex(Inno.Scene.GameScene scene)Parameters
Section titled “Parameters”Parameter scene: The loaded scene to locate.
Returns
Section titled “Returns”The zero-based hierarchy index.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when the scene is not loaded by this world.