VisualShaderNodeColorConstant.xml 679 B

1234567891011121314151617
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualShaderNodeColorConstant" inherits="VisualShaderNodeConstant" version="4.0">
  3. <brief_description>
  4. A [Color] constant to be used within the visual shader graph.
  5. </brief_description>
  6. <description>
  7. Has two output ports representing RGB and alpha channels of [Color].
  8. Translated to [code]vec3 rgb[/code] and [code]float alpha[/code] in the shader language.
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <members>
  13. <member name="constant" type="Color" setter="set_constant" getter="get_constant" default="Color(1, 1, 1, 1)">
  14. A [Color] constant which represents a state of this node.
  15. </member>
  16. </members>
  17. </class>