2018-07-26 09:56:21 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 01:03:48 +00:00
<class name= "VisualShaderNodeInput" inherits= "VisualShaderNode" version= "4.0" >
2018-07-26 09:56:21 +00:00
<brief_description >
2020-02-26 11:27:56 +00:00
Represents the input shader parameter within the visual shader graph.
2018-07-26 09:56:21 +00:00
</brief_description>
<description >
2020-05-07 09:19:23 +00:00
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 [code]Tutorials[/code] section for link).
2018-07-26 09:56:21 +00:00
</description>
<tutorials >
2020-08-05 12:43:40 +00:00
<link title= "Shading reference index" > https://docs.godotengine.org/en/stable/tutorials/shading/shading_reference/index.html</link>
2018-07-26 09:56:21 +00:00
</tutorials>
<methods >
2019-11-08 07:33:48 +00:00
<method name= "get_input_real_name" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "String" />
2019-11-08 07:33:48 +00:00
<description >
2021-03-18 11:04:28 +00:00
Returns a translated name of the current constant in the Godot Shader Language. E.g. [code]"ALBEDO"[/code] if the [member input_name] equal to [code]"albedo"[/code].
2019-11-08 07:33:48 +00:00
</description>
</method>
2018-07-26 09:56:21 +00:00
</methods>
<members >
2019-06-29 10:38:01 +00:00
<member name= "input_name" type= "String" setter= "set_input_name" getter= "get_input_name" default= ""[None]"" >
2020-05-07 09:19:23 +00:00
One of the several input constants in lower-case style like: "vertex"([code]VERTEX[/code]) or "point_size"([code]POINT_SIZE[/code]).
2018-07-26 09:56:21 +00:00
</member>
</members>
<signals >
<signal name= "input_type_changed" >
<description >
2020-02-26 11:27:56 +00:00
Emitted when input is changed via [member input_name].
2018-07-26 09:56:21 +00:00
</description>
</signal>
</signals>
<constants >
</constants>
</class>