VisualShaderNodeInput
Inherits: VisualShaderNode < Resource < RefCounted < Object
Description
Section titled “Description”Represents the input shader parameter within the visual shader graph.
Gives access to input variables (built-ins) available for the shader. See the shading reference for the list of available built-ins for each shader type (check Tutorials section for link).
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| String | input_name |
"[None]" |
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| String | get_input_real_name() const |
Signals
Section titled “Signals”input_type_changed
input_type_changed()
Emitted when input is changed via input_name.
Property descriptions
Section titled “Property descriptions”input_name
String input_name = "[None]"
One of the several input constants in lower-case style like: “vertex” (VERTEX) or “point_size” (POINT_SIZE).
Method descriptions
Section titled “Method descriptions”get_input_real_name
String get_input_real_name() const
Returns a translated name of the current constant in the Orblit Shader Language. E.g. "ALBEDO" if the input_name equal to "albedo".
