Number switch
Switches between number inputs using an index.
Inputs
-
index
- The index of the value to output. This can only be
0
,1
,2
, or3
.
- The index of the value to output. This can only be
-
value 0
- The value of index
0
.
- The value of index
-
value 1
- The value of index
1
.
- The value of index
-
value 2
- The value of index
2
.
- The value of index
-
value 3
- The value of index
3
.
- The value of index
Outputs
-
result
- The value of the selected index.
-
result list
- The list of values of the selected index.
Note(s)
-
Unlike the Switch node, all upstream nodes of input connections are computed.
-
Other names for this node include: FloatSwitch, Case, If, and Value switch.