Synced
ShaderNodeDrawContext.DrawProperty
Section titled “ShaderNodeDrawContext.DrawProperty”
- Draws a node property through the existing Inspector controls, including precise numbers and asset picking.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public void Inno.Editor.Shaders.ImGui.ShaderNodeDrawContext.DrawProperty<T>(string key, string label, T defaultValue)Type parameters
Section titled “Type parameters”Type parameter T: Supported native property type.
Parameters
Section titled “Parameters”Parameter key: Stable node property identity.
Parameter label: Artist-facing property label.
Parameter defaultValue: Value used only when no property is stored.