0.2.0-dev Download ZIP
32 lines ·1.5 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="VisualShaderNodeInput" inherits="VisualShaderNode" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | Represents the input shader parameter within the visual shader graph. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | 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). |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | <link title="Shading reference index">$DOCS_URL/tutorials/shaders/shader_reference/index.html</link> |
| 11 | </tutorials> |
| 12 | <methods> |
| 13 | <method name="get_input_real_name" qualifiers="const"> |
| 14 | <return type="String" /> |
| 15 | <description> |
| 16 | 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]. |
| 17 | </description> |
| 18 | </method> |
| 19 | </methods> |
| 20 | <members> |
| 21 | <member name="input_name" type="String" setter="set_input_name" getter="get_input_name" default=""[None]""> |
| 22 | One of the several input constants in lower-case style like: "vertex" ([code]VERTEX[/code]) or "point_size" ([code]POINT_SIZE[/code]). |
| 23 | </member> |
| 24 | </members> |
| 25 | <signals> |
| 26 | <signal name="input_type_changed"> |
| 27 | <description> |
| 28 | Emitted when input is changed via [member input_name]. |
| 29 | </description> |
| 30 | </signal> |
| 31 | </signals> |
| 32 | </class> |