Value Switches

Value Switch This node passes one of a number of input values to the output. All input values have to be of same type.
Multi Switch This node processes multiple inputs and passes the result to the output. One can handle multiple input groups with a single index.

Value Switch

The Value Switch Node is the equivalent of the Switch Node for the scene Content. It is used to switch between the values of the Value input properties based on the Case property. Input Value properties can be added/deleted with the methods at the bottom of the Property Editor or in the context menu of this node. Please refer to the Switch Node for more information.

Multi Switch

The Multi Switch is able to create multiple Input Value Groups to pass one value per group to the output. By default it uses the Index property to determine which value to choose. The index applies to all groups of a Multi Switch Node.

To create a new Input Group click on the Add Output button on the bottom of the property window and select the type of the input. Possible types are:
Single, Integer, Boolean, String, Event, Texture.

The + and - buttons on the bottom of the property window add and remove additional input values to all groups. All groups of a Multi Switch Node have the same number of input values.

Besides determining the output value by index one can also change the Operation property of each group that affects the way the output value is calculated:

All types

Last Changed

The output value is always the last changed value of the input group.

Integer/Float

Sum

The sum of all input Values.

Min/Max

The minimum/maximum input value.

Average

The average value of all input values.
For integers one can define whether to round (Average) or always choose the next lower (AverageFloor) or next higher (AverageCeiling) integer.

Boolean

AllOn/AllOff

Output is true if all input booleans are true/false.

AnyOn/AnyOff

Output is true if at least one input boolean is true/false.

SingleOn/SingleOff

Output is true if exactly one input boolean is true/false.

String

Concat

The concatenation of all input strings.

Longest/Shortest

The shortest/longest string.

FirstNonEmpty

The first string by index that is not empty. With FirstNonEmptyTrimmed all leading and trailing whitespace characters of that string are removed.

Texture

First Valid

The first valid texture by input index.