Class VisualShaderNodeInput
Represents the input shader parameter within the visual shader graph.
- Inheritance
-
VisualShaderNodeInput
Remarks
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).
See Also
Properties
input_name
One of the several input constants in lower-case style like: "vertex" (VERTEX
) or "point_size" (POINT_SIZE
).
var input_name : String = "[None]"
Property Value
Remarks
Methods
get_input_real_name
Qualifiers: const
Returns a translated name of the current constant in the Godot Shader Language. E.g. "ALBEDO"
if the input_name equal to "albedo"
.
String get_input_real_name
Events
input_type_changed
Emitted when input is changed via input_name.
signal input_type_changed