?: (LogiX node)
Jump to navigation
Jump to search
?: | ||
---|---|---|
![]() | ||
Inputs | ||
Float | OnTrue | |
Float | OnFalse | |
Bool | Condition | |
Outputs | ||
Float | * |
The ?: node outputs either the OnTrue or OnFalse input values depending on the value of the Condition input.
Usage
When spawned from the node browser, this node accepts the float datatype by default. However, this node can be overloaded to use other value or reference types if an appropriate wire is connected. This operator is commonly referred to as the 'ternary' or 'conditional' operator.