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...
VisualShaderNodeColorParameter¶
继承: VisualShaderNodeParameter < VisualShaderNode < Resource < RefCounted < Object
在可视化着色器图中使用的 Color 参数。
描述¶
翻译为着色器语言中的 uniform vec4
。
属性¶
|
||
|
属性说明¶
Color default_value = Color(1, 1, 1, 1)
该着色器内部分配的默认值。
bool default_value_enabled = false
启用 default_value。