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

繼承: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

在視覺化著色器圖中使用的布林常數。

說明

Has only one output port and no inputs.

Translated to bool in the shader language.

屬性

bool

constant

false


屬性說明

bool constant = false 🔗

  • void set_constant(value: bool)

  • bool get_constant()

布林常數,表示該節點的狀態。