Synced
SceneWorld.SetSceneIndex
Section titled “SceneWorld.SetSceneIndex”
- Moves a loaded scene to a hierarchy index without changing the active scene.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public void Inno.Scene.SceneWorld.SetSceneIndex(Inno.Scene.GameScene scene, int sceneIndex)Parameters
Section titled “Parameters”Parameter scene: The loaded scene to move.
Parameter sceneIndex: The requested zero-based hierarchy index.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when the scene is not loaded by this world.