VisualShaderNodeColorConstant
Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object
Description
Section titled “Description”A Color constant to be used within the visual shader graph.
Has two output ports representing RGB and alpha channels of Color.
Translated to vec3 rgb and float alpha in the shader language.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| Color | constant |
Color(1, 1, 1, 1) |
Property descriptions
Section titled “Property descriptions”constant
Color constant = Color(1, 1, 1, 1)
A Color constant which represents a state of this node.
