Struct VisualShaderNodeColorConstant
A Color constant to be used within the visual shader graph.
struct VisualShaderNodeColorConstant
;
Has two output ports representing RGB and alpha channels of Color.
Translated to vec3 rgb and float alpha in the shader language.
Properties
| Name | Type | Description |
|---|---|---|
constant[get, set]
|
Color | A Color constant which represents a state of this node.
|
Methods
| Name | Description |
|---|---|
getConstant
|
|
setConstant
|