Synced
MaterialDocuments.Presentation
Section titled “MaterialDocuments.Presentation”
- Reads parameter presentation from the current authoring Shader graph.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Shaders.ShaderParameterPresentation InnoEditor.Shaders.MaterialDocuments.Presentation(InnoEngine.Rendering.ShaderAsset shader, InnoEngine.Rendering.ShaderPropertyId propertyId, out string error)Parameters
Section titled “Parameters”Parameter shader: The canonical Shader used by the Material.
Parameter propertyId: The stable binding identity.
Parameter error: Receives the source diagnostic, or an empty string when presentation is available.
Returns
Section titled “Returns”Detached presentation values; an unavailable graph uses the ordinary presentation defaults.