Skip to main content

Switch

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​

InputAcceptsDescription
0AllThe first input to choose from.
1 and upAllThe other inputs to choose from.

Parameters​

ParameterDescription
Input SelectionThe number of the input to pass through to the output, starting from 0. This can be an expression.
Number of InputsThe number of inputs on the node.