VisualShaderNodeColorConstant
Inherits: VisualShaderNode < Resource < Reference < Object
一个Color常量,在可视化着色器图中使用。
描述
有两个输出端口,表示Color的RGB和alpha通道。
在着色器语言中被转换成vec3 rgb
和float alpha
。
属性
|
属性说明
- Color constant
Default |
|
Setter | set_constant(value) |
Getter | get_constant() |
一个Color常量,表示这个节点的状态。