Switch nodes

A switch node determines the flow of execution based on the value of an input variable. There are different types of switch nodes. The next screenshot shows an example of the Switch on Int node:

The Selection input parameter receives an integer value that determines the output pin that will be executed. If the input value has no pin, then the Default pin will execute. You can change the start index in the Details panel of Switch on Int. The output pins are added by using the Add pin + option.

Another type of switch is the Switch on String node, which is shown in the following screenshot. The output values must be added in the Details panel of the Switch on String node, under Pin Options | Pin Names:

There is also Switch on Enum, which uses the values of an enumeration as the available output pins.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset