VisualShaderNodeInput.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. </description>
  8. <tutorials>
  9. </tutorials>
  10. <methods>
  11. <method name="get_input_real_name" qualifiers="const">
  12. <return type="String">
  13. </return>
  14. <description>
  15. Returns a translated name of the current constant in the Godot Shader Language. eg. [code]"ALBEDO"[/code] if the [member input_name] equal to [code]"albedo"[/code].
  16. </description>
  17. </method>
  18. </methods>
  19. <members>
  20. <member name="input_name" type="String" setter="set_input_name" getter="get_input_name" default="&quot;[None]&quot;">
  21. One of the several input constants in lower-case style like: "vertex"([/code]VERTEX[code]) or "point_size"([code]POINT_SIZE[/code]).
  22. </member>
  23. </members>
  24. <signals>
  25. <signal name="input_type_changed">
  26. <description>
  27. Emitted when input is changed via [member input_name].
  28. </description>
  29. </signal>
  30. </signals>
  31. <constants>
  32. </constants>
  33. </class>