Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualShaderNodeColorConstant
继承: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object
Color 常量,在可视化着色器图中使用。
描述
有两个输出端口,表示 Color 的 RGB 和 Alpha 通道。
在着色器语言中被转换成 vec3 rgb
和 float alpha
。
属性
|
属性说明
Color constant = Color(1, 1, 1, 1)
🔗
Color 常量,表示这个节点的状态。