Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
VisualShaderNodeColorConstant¶
Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object
A Color constant to be used within the visual shader graph.
Description¶
Has two output ports representing RGB and alpha channels of Color.
Translated to vec3 rgb
and float alpha
in the shader language.
Properties¶
|
Property Descriptions¶
Color constant = Color(1, 1, 1, 1)
A Color constant which represents a state of this node.