Switch Node

Nó Switch.

The Switch node outputs one of two inputs depending on a condition.

When the inputs are regular values, only the input that is passed through the node is evaluated. This means the unused input is not computed.

When the inputs are Campos, both inputs may be evaluated before the switch is applied. The switch then selects which result is used for each element. Because of this, the node should not be relied on to avoid evaluating expensive field inputs.

Veja também

The Menu Switch Node and Index Switch Node can be used to switch between an arbitrary amount of inputs.

Inputs

Alternar

Determina qual das duas entradas abaixo irá passar.

False

Passa quando quando o switch é definido para false.

True

Passa quando o switch é definido para true.

Propriedades

Tipo

Determina o tipo de dado que é manipulado pelo nó.

Saídas

Saída

Uma das duas entradas sem modificações.