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

Color

constant

Color(1, 1, 1, 1)


Property Descriptions

Color constant = Color(1, 1, 1, 1)

  • void set_constant ( Color value )

  • Color get_constant ( )

A Color constant which represents a state of this node.

Previous Next


© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6.

Built with Sphinx using a theme provided by Read the Docs.