Synced
EditorSceneWorkspaceFactory.Create
Section titled “EditorSceneWorkspaceFactory.Create”
- Creates an unattached workspace over explicitly owned Edit-session services.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Scene
Declaration
Section titled “Declaration”public static Inno.Editor.Scene.EditorSceneWorkspaceHost Inno.Editor.Scene.EditorSceneWorkspaceFactory.Create(Inno.Runtime.RuntimeSession runtimeSession, Inno.Assets.Pipeline.AssetPipeline assets, Inno.Extensibility.Types.TypeCatalog types, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Logging.LogRouter logs, Inno.Editor.Interactions.IEditorSelectionCoordinator? selection = null)Parameters
Section titled “Parameters”Parameter runtimeSession: The Edit session that owns the workspace scene world.
Parameter assets: The authoring asset pipeline used for scene and prefab documents.
Parameter types: The host type catalog used for scene extension generations.
Parameter serialization: The host serialization registry used for scene snapshots.
Parameter logs: The application log router used for workspace lifecycle diagnostics.
Parameter selection: The optional selection coordinator used by the standalone document workspace.
Returns
Section titled “Returns”A host that owns both the document and Play Mode interfaces of the workspace.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when a required owner is null.