2018-07-26 17:56:21 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 21:18:53 +08:00
|
|
|
<class name="VisualShaderNodeColorConstant" inherits="VisualShaderNodeConstant" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
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>
|