Number Range

Remap values.

Source Minimum - the smallest value within your range.

Source Maximum - the largest value within your range.

Value - connect a range of values (e.g. from a Spreadsheet)

Minimum - the value to remap Source Minimum to.

Maximum - the value to remap Source Maximum to.

Graph - see Common Attributes (Behaviours)

Clamp - when checked, the output will never go above or below the Maximum or Minimum values.

Offset - add/subtract a value to/from the output.

This node is also used as a base for options on the Spreadsheet Atom. The Value attribute will not appear within the Spreadsheet Attribute Editor UI as that is being driven by the data on the node itself.

Example usage:

  1. Create 2 Shapes (shape1 and shape2).

  2. Create a Number Range.

  3. Set:

    1. Source Minimum = -100

    2. Source Maximum = 100

    3. Minimum = -400

    4. Maximum = 400

  4. Connect shape1.position.y > numberRange.value

  5. Connect > shape2.position.y

  6. Move Shape1 up and down in the Viewport.

As Shape1 reaches a position of 100 in the Y axis, Shape2 will move to a position of 400. If Clamp is checked then as Shape1 moves above 100 Shape2 will remain at 400.