Skip to content

VisualShaderNodeBooleanConstant

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

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

Has only one output port and no inputs.

Translated to bool in the shader language.

Type Name Default
bool constant false

constant

bool constant = false

A boolean constant which represents a state of this node.