VisualShaderNodeBooleanConstant

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 ( bool value )

  • bool get_constant ( )

A boolean 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.