Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Writes presentation to a detached graph without changing any default, Material, or compiled program.

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

public static void InnoEditor.Shaders.ShaderParameterPresentation.Write(InnoEngine.Graphs.GraphDocument graph, InnoEngine.Rendering.ShaderPropertyId propertyId, InnoEditor.Shaders.ShaderParameterPresentation presentation, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)

Parameter graph: Detached graph owned by the caller’s History transaction.

Parameter propertyId: Stable parameter identity.

Parameter presentation: Detached Inspector settings.

Parameter serialization: Current owner converters.

Parameter context: Complete owner serialization context.

Exception T:System.ArgumentException: The identity or range is invalid, or a bound cannot be represented by a scalar Shader Float.