Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Reads parameter presentation from the current authoring Shader graph.

API: scripting
Project: Inno.Editor.Shaders
Scope: Editor

public InnoEditor.Shaders.ShaderParameterPresentation InnoEditor.Shaders.MaterialDocuments.Presentation(InnoEngine.Rendering.ShaderAsset shader, InnoEngine.Rendering.ShaderPropertyId propertyId, out string error)

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.

Detached presentation values; an unavailable graph uses the ordinary presentation defaults.