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