Two Way Switch VEX node

Takes an integer input.

See also: If, Switch

This operator takes an integer input. If this input value satisfies the Condition parameter, the output is set equal to the first input value. If the integer input does not satisfy the Condition parameter, the output is set equal to the second input value. This provides a simple way to switch between two values and simulate an if-then-else construct.

Usages in other examples

Example name Example for

Material shader

Load | Launch

Material shader

Load | Launch

Fur surface node

Load | Launch

Fur surface node

Load | Launch

Smoke Object dynamics node

Load | Launch