Inherits: VisualShaderNode < Resource < Reference < Object

A Color constant to be used within the visual shader graph.


Has two output ports representing RGB and alpha channels of Color.

Translated to vec3 rgb and float alpha in the shader language.


ColorconstantColor( 1, 1, 1, 1 )

Property Descriptions

DefaultColor( 1, 1, 1, 1 )

A Color constant which represents a state of this node.

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:44:52. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.