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.

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.

属性

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.