Boolean
Creates a boolean value.
Inputs
-
value
- Boolean value to output.
-
default
- The default value to output when the set to default input is set to
true.
- The default value to output when the set to default input is set to
-
set to default
- Sets the value input to the value defined by the default input.
-
hide control
- Hides the parameter control within the parameter panel when the node is parameterized.
-
hide label
- Hides the parameter label (name) within the parameter panel when the node is parameterized.
Outputs
-
value
- The boolean value as defined by the value input.
Notes
-
When parameterized this node will appear as a false/true toggle in the parameter panel.
-
A boolean value is in essence a
0or1integer value.0isfalseand1istrue. -
The value input can accept any numerical value (floating value or integer). The boolean node will convert a value of
0tofalse(0) whereas any other value other than0will returntrue(1). -
Other names for this node include: BooleanValue, Checkbox, State, Bit, Binary, On/Off, True/False, or Parameter.