Mathematic Nodes – Limit

DESCRIPTION


The Limit Node is a math function that imposes limits on values.

ATTRIBUTE

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

0: no operation – input value(s) pass through node with no changes

1: abs (default) – Calculates the absolute value(s) of input. The absolute value of an integer or floating point is the number without its positive or negative sign.

2: ceil – Calculates a value rounded to the smallest integer value greater that or equal to a floating point number.

3: floor – Calculates a value rounded to the largest integer less than o equal to a floating point number.

4: sign – Calculates one of three values representing the sign of a value. Return -1 if the number is negative, 1 if positive, 0 if 0.

5: trunc – Returns whole number part of a floating point number.

6: fraction – Returns fraction part of floating point number.

7: round – Returns a number rounded to a specified number of decimal places.


Name: input (in)
Type: float3
Default: 0.0,0.0,0.0
Note: The input value.

Name: output (out)
Type: float3
Default: 0.0, 0.0, 0.0
Note: The output value.