VisualShaderNodeInput.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualShaderNodeInput" inherits="VisualShaderNode" version="4.0">
  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">https://docs.godotengine.org/en/latest/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="&quot;[None]&quot;">
  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>