Synced
ShaderNodeDrawContext.Read
Section titled “ShaderNodeDrawContext.Read”
- Reads a detached property value; missing values use the node’s declared default.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Shaders.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public T InnoEditor.Shaders.ShaderNodeDrawContext.Read<T>(string key, T defaultValue)Type parameters
Section titled “Type parameters”Type parameter T: Native serializable property type.
Parameters
Section titled “Parameters”Parameter key: Stable node-local property key.
Parameter defaultValue: Default used only when the property is absent.
Returns
Section titled “Returns”The detached value. Malformed stored data is not silently replaced.