Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualShaderNodeInput¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
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).
教程¶
属性¶
|
Methods¶
get_input_real_name ( ) const |
信号¶
input_type_changed ( )
Emitted when input is changed via input_name.
Property Descriptions¶
String input_name = "[None]"
One of the several input constants in lower-case style like: "vertex" (VERTEX
) or "point_size" (POINT_SIZE
).
Method Descriptions¶
String get_input_real_name ( ) const
Returns a translated name of the current constant in the Godot Shader Language. E.g. "ALBEDO"
if the input_name equal to "albedo"
.