Synced
MaterialDocuments
Section titled “MaterialDocuments”
- Owns Material authoring sessions; native source editing uses the shared asset draft lifecycle.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: InnoEditor.Core.EditorModule
Project: Inno.Editor.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public sealed class InnoEditor.Shaders.MaterialDocuments : InnoEditor.Core.EditorModuleMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | MaterialDocuments.Constructor | Appears in the generated script reference without a matching public or protected engine constructor. |
| Methods | MaterialDocuments.OnStart | Initializes this feature when its owning runtime becomes active. |
| Methods | MaterialDocuments.OnStop | Stops this feature before its owning runtime releases the active generation. |
| Methods | MaterialDocuments.OnUpdate | Advances this feature using the current runtime state. |
| Methods | MaterialDocuments.Open | Opens native source, including a source with failed import, without publishing its draft. |
| Methods | MaterialDocuments.Presentation | Reads parameter presentation from the current authoring Shader graph. |
| Methods | MaterialDocuments.Read | Reads a detached current-generation Material; referenced assets remain canonical read-only inputs. |
| Methods | MaterialDocuments.Replace | Changes a draft through shared History without modifying its source or Scene/Game. |
| Methods | MaterialDocuments.ReplaceMany | Changes compatible selected drafts within one shared gesture. |
| Properties | MaterialDocuments.previews | Gets the generation-scoped preview service shared by material presentations. |