This node allows to redirect the computing process between various branches of the node graph depending on the input value.
There are 4 types of Switch node, depending on where you want to connect this node:
The Switch node of the Modifiers type is connected between modifiers or between the Path node and modifiers to the left or right connector (Direction Modifiers or After Mesh Modifiers).
The Switch node of the Meshes type connects between the Path node and the mesh builders to the bottom connector .
The Switch node of the Path Distributors type connects between the Path node to the Child distributors (the right connector ) and the child distributors (Path distributor node or Path position distributor node) to the Parent paths (the left connector ).
The Switch node of the Distributors type connects between the Path node (top connector ) and distributor nodes (bottom connector ).
The input value must be between 1 and the specified number of outputs, otherwise no output will be used.
Corresponding output with number i. A value that you can set to match the Input value, and if the Input value is equal to that value, then that output will be used.
Click on this button to add a new output.
Click on this button to delete the last output.
The number of output connectors is equal to the number of Outputs. For different types of Switch nodes, the output connectors are located on different sides of the node, this is done to make the graph of the nodes look more convenient.
Please note that in the case when the output connectors are located at the top or bottom side of the node, the leftmost connector corresponds to the first output.
For Switch nodes with the Distributors type, all Outputs are named as Inputs, since the direction of calculation is in reverse order, and this node has only one output, but several inputs.
For more informations see How to use the Switch node.
Note: Switch nodes of Path Distributors and Distributors types are calculated only at the initial stage of model generation, so you cannot use the Affect node to generate dynamic input values.