2018-07-26 11:56:21 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-12-30 09:45:31 +01:00
|
|
|
<class name="VisualShaderNodeColorConstant" inherits="VisualShaderNodeConstant" version="4.0">
|
2018-07-26 11:56:21 +02:00
|
|
|
<brief_description>
|
2020-01-23 08:31:45 +01:00
|
|
|
A [Color] constant to be used within the visual shader graph.
|
2018-07-26 11:56:21 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2020-01-23 08:31:45 +01: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 11:56:21 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<members>
|
2019-09-24 19:45:03 +02:00
|
|
|
<member name="constant" type="Color" setter="set_constant" getter="get_constant" default="Color(1, 1, 1, 1)">
|
2020-01-23 08:31:45 +01:00
|
|
|
A [Color] constant which represents a state of this node.
|
2018-07-26 11:56:21 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|