Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Reads a named node value; absent values use the declared default, corrupt values never do.

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

public static T InnoEditor.Rendering.Shaders.ShaderGraphDocument.Read<T>(InnoEngine.Graphs.GraphNodeRecord node, string key, T defaultValue, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)

Type parameter T: Expected native serializable type.

Parameter node: Neutral node record.

Parameter key: Stable property key.

Parameter defaultValue: Value used only when the property is absent.

Parameter serialization: The owner converter registry.

Parameter context: The complete owner reference context.

The decoded value or explicit absent-property default.