W3cubDocs

/Godot 3.2

VisualShaderNodeBooleanConstant

Inherits: VisualShaderNode < Resource < Reference < 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

Default false
Setter set_constant(value)
Getter get_constant()

A boolean constant which represents a state of this node.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualshadernodebooleanconstant.html