Number Clamp node

Left Toolbar > Math icon Math Nodes > Number Clamp icon Number Clamp

The Number Clamp node returns the nearest integer to the Number value in the defined area.

Procedure

To calculate the clamp of the number in the node graph:

  1. On the left toolbar choose Math Nodes Math icon > Number Clamp Math Number Clamp icon

  2. Drag the Number Clamp icon into the Node Graph.

    Math Number Clamp node

  3. Connect the Output: result.

Inputs

number A NUMBER type of value.

Outputs

Result The number value.

Attributes Panel

Math Number Clamp attributes

Number Number value. This attribute is exposed as input by default.

Minimum Minimum Number value of the range. This attribute is exposed as input by default.

Maximum Maximum Number value of the range. This attribute is exposed as input by default.

Math Nodes

Main Page