Select If#
Selects an output from the given inputs based on a boolean condition. If the condition is an array, and the inputs are arrays of equal length, and values will be selected from ifTrue, ifFalse depending on the bool at the same index. If one input is an array and the other is a scaler of the same base type, the scaler will be extended to the length of the other input.
Installation#
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
If True (ifTrue) |
|
Value if condition is True |
|
If False (ifFalse) |
|
Value if condition is False |
|
condition |
|
The selection variable |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Result (result) |
|
The selected value from ifTrue and ifFalse |