VisualShaderNodeBooleanConstant

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

在可视化着色器图中使用的布尔常量。

描述

只有一个输出端口,没有输入。

在着色器语言中被转换成 bool

属性

bool

constant

false


属性说明

bool constant = false

  • void set_constant ( bool value )

  • bool get_constant ( )

布尔常量,表示该节点的状态。

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.