VisualShaderNodeBooleanConstant¶
继承¶
VisualShaderNode
简要描述¶
在视觉着色器图中使用的布尔常量。
描述¶
只有一个输出端口,没有输入。
在着色器语言中翻译为bool
。
成员¶
类型 | 属性名 | 默认值 |
---|---|---|
bool | constant(#member-constant) | false |
成员说明¶
- bool constant
Default | false |
---|---|
setter | set_constant(value) |
getter | get_constant |