0.2.0-dev Download ZIP
17 lines ·790 B Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="VisualShaderNodeColorConstant" inherits="VisualShaderNodeConstant" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 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> |