EditorPlayModeController.Constructor
Section titled “EditorPlayModeController.Constructor”
- Creates a Play Mode controller around the runtime host, scene snapshot, scripting, and history boundaries.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.PlayMode
Declaration
Section titled “Declaration”public Inno.Editor.PlayMode.EditorPlayModeController.EditorPlayModeController(Inno.Runtime.EngineHost engineHost, Inno.Runtime.RuntimeSessionOptions runtimeOptions, Inno.Editor.Scene.IEditorScenePlayMode scenes, Inno.Editor.Scripting.IEditorScriptCompilation scripting, Inno.Editor.Interactions.IEditorHistoryIsolation history, Inno.Core.Logging.LogRouter logs, Inno.Editor.Audio.IEditorAudioHost? audio = null)Parameters
Section titled “Parameters”Parameter engineHost: The application host that owns every isolated Play Mode runtime session.
Parameter runtimeOptions: The validated Play Mode storage and timing policy used for every accepted request.
Parameter scenes: The scene workspace that creates isolated runtime scene sessions.
Parameter scripting: The script compilation service that publishes generation readiness.
Parameter history: The editor history boundary isolated during simulation.
Parameter logs: The application log router that receives Play Mode lifecycle failures.
Parameter audio: Optional Editor audio host that creates an isolated backend generation for Play Mode.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when any dependency is null.