ChOp Switch

The Channel Operator Counter switches the output based on a previous Channel Operator value as selector.

 
A Channel Operator Switch seen in the Channel Operator Editor (left) and in the Maya Node Editor (right)

The first connection will act as the default value if the selector value does not correspond to a valid case.

Creation

Configuration

A Channel Operator Counter defines the following specific attributes. For common attributes see Channel Operator Common Attributes.

Channel Operator Attributes


 
Switch Mode

Defines how the output will be computed:

  • Exact: will return the value of the previous Channel Operator connected to the case plug defined by the selector value (if selector is 1, will return the value of case1)
  • Interpolate: will interpolate the value of the two previous Channel Operators connected to the closest case plugs defined by the selector value (if selector is 1.5, will return the value of case1 interpolated at 50% with the value of case 2)