Switch
Switches between geometry inputs using an index value.
Inputs
-
geometry
- Accepts multiple geometry connections.
-
index
- The index of the geometry connection to output.
Outputs
-
geometry
- Output primitives.
-
points
- The list of points of the output primitives.
-
points.x
- The list of x values of the points of the output primitives.
-
points.y
- The list of y values of the points of the output primitives.
-
points.z
- The list of z values of the points of the output primitives.
Note(s)
-
A special function of the this node is that the graph will not compute geometry that isn't within the connection selected by the index input.
- As such, this node can be used to optimize the computation of the graph by switching between computationally light and heavy geometry with the Ephemeral State node.
- This is not true, however, for the Number switch, Vector switch, or String switch nodes.
-
Other names for this node include: Choose and Pick.