Switch
The Switch node passes one of its inputs through to its output, and ignores the others. Use it to keep alternative versions of part of a graph and choose between them, for example a light version for the viewport and a detailed one for rendering, or several looks for an asset. Because Input Selection can be an expression, you can also drive the choice from a user variable on the Yeti node.
The number of inputs is set by the Number of Inputs parameter, from 2 (the default) to 16.
Inputs
| Input | Accepts | Description |
|---|---|---|
| 0 | All | The first input to choose from. |
| 1 and up | All | The other inputs to choose from. |
Parameters
| Parameter | Description |
|---|---|
| Input Selection | The number of the input to pass through to the output, starting from 0. This can be an expression. |
| Number of Inputs | The number of inputs on the node. |