beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Trigger.SwitchTrigger

SwitchTrigger
op id:44ceb5d8-b040-4722-b189-a6fb8172517d
Triggers one of the out ports (value index switch case)

summary (oneliner)

doc

youtube id

collections

related ops

Inputs

Execute (Function)

Switch Value (integer Number)

Outputs

Next Trigger (Function)

Switched Value (Number)

Trigger 0 (Function)

Trigger 1 (Function)

Trigger 2 (Function)

Trigger 3 (Function)

Trigger 4 (Function)

Trigger 5 (Function)

Trigger 6 (Function)

Trigger 7 (Function)

Trigger 8 (Function)

Trigger 9 (Function)

Default Trigger (Function)

Switch Trigger Example:

SwitchTrigger triggers one of the output triggers based on the value of the input port.
By Using the Incrementor op we cycle between a number in the range [0..3], which then either draws a sphere, cube, torus or cylinder.

Click anywhere in the patch area and press "f" to turn on the flow-mode (you can also press "cmd + p" and enter "flow"). Now click in the renderer window and click several times. You will see how the flow of the yellow trigger cables changes.



video tutorial:

Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using SwitchTrigger

Public Patches using SwitchTrigger