2018-07-26 17:56:21 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-12-30 16:45:31 +08:00
|
|
|
<class name="VisualShaderNodeColorConstant" inherits="VisualShaderNodeConstant" version="4.0">
|
2018-07-26 17:56:21 +08:00
|
|
|
<brief_description>
|
2020-01-23 15:31:45 +08:00
|
|
|
A [Color] constant to be used within the visual shader graph.
|
2018-07-26 17:56:21 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2020-01-23 15:31:45 +08:00
|
|
|
Has two output ports representing RGB and alpha channels of [Color].
|
|
|
|
Translated to [code]vec3 rgb[/code] and [code]float alpha[/code] in the shader language.
|
2018-07-26 17:56:21 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<members>
|
2019-09-25 01:45:03 +08:00
|
|
|
<member name="constant" type="Color" setter="set_constant" getter="get_constant" default="Color(1, 1, 1, 1)">
|
2020-01-23 15:31:45 +08:00
|
|
|
A [Color] constant which represents a state of this node.
|
2018-07-26 17:56:21 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|