Synced
IEditorSceneWorkspace.SetActiveScene
Section titled “IEditorSceneWorkspace.SetActiveScene”
- Makes one presented scene active without changing scene order.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Scene
Scope: Editor
Declaration
Section titled “Declaration”void InnoEditor.Scene.IEditorSceneWorkspace.SetActiveScene(InnoEngine.Scene.GameScene scene)Parameters
Section titled “Parameters”Parameter scene: The loaded scene to activate.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when scene is null.
Exception T:System.InvalidOperationException: Thrown when the scene is not loaded by this workspace.