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.

VisualShaderNodeColorConstant

Hérite de : VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

Une Color constante à utiliser dans le graphe de shader visuel.

Description

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

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

Propriétés

Color

constant

Color(1, 1, 1, 1)


Descriptions des propriétés

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

  • void set_constant(value: Color)

  • Color get_constant()

Une Color constante qui représente l'état de ce nœud.