VisualShaderNodeBooleanConstant๏ƒ Godot Course

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

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

Description๏ƒ

Has only one output port and no inputs.

Translated to bool in the shader language.

Properties๏ƒ

bool

constant

false


Property Descriptions๏ƒ

bool constant = false ๐Ÿ”—

  • void set_constant(value: bool)

  • bool get_constant()

A boolean constant which represents a state of this node.