Mathematic Nodes – ConditionRange

DESCRIPTION


Condition Range node is similar to Maya standard Condition utility, except its capable of testing the input value if its between specified range or not. If the relationship ( inRange [including Min/Max], inRange [excluding Min/Max], outRange [including Min/Max], outRange [excluding Min/Max]) is true, then the first color or texture is output. If the relationship is false, then the second color or texture is output.

ATTRIBUTES

Name: input (in)
Type: float
Default: 0.0
Note: The input value/Term that should be check.

Name: operation (opt)
Type: enum
Default: 0
Note: Specifies type of operation. type could be :

0: InRange [include Min/Max] – checks if input is between Min and Max values or its equal to min or max.
if ( input >= min && input <= max)

1: InRange [exclude Min/Max] – checks if input is between Min and Max values. if ( input > min && input < max)

2: OutRange [include Min/Max] – checks if input is not in range of Min and Max or its equal to min or max.

3: OutRange [exclude Min/Max] – checks if input is not in range between Min and Max.


Name: minRange (min)
Type: float
Default: 0.0
Note: The minimum range that input value should be.


Name: maxRange (max)
Type: float
Default: 1.0
Note: The maximum range that input value should be.

Name: true (tr)
Type: color
Default: 1.0, 1.0, 1.0
Note: The color or texture that will be output by this node when the condition is True.

Name: false (fa)
Type: color
Default: 0.0, 0.0, 0.0
Note: The color or texture that will be output by this node when the condition is False.

Name: output (out)
Type: color
Default: 1.0, 1.0, 1.0
Note: The output value.