• Maps a value within a given input range into a given output range.

    Parameters

    • inMin: number

      The minimum value for the input range.

    • inMax: number

      The maximum value for the input range.

    • outMin: number

      The minimum value for the output range.

    • outMax: number

      The maximum value for the output range.

    • value: number

      The position within the input range.

    Returns number

    The position within the output range. Not clamped.