@blinkk/degu
    Preparing search index...

    Function getValueInRangeByProgress

    • Used to get a value within a range by progress. Note this is an alias of [[mathf.lerp]] since it's the same thing.

      For instance, let's say you have a range of 325-1450. You want 0% = 325 and 100% = 1450.

      You can pass a progress (such as 20% or 0.2) and this will return the value within that range.

      Parameters

      • progress: number

        The percent to calculate. Should be between 0 and 1.

      • min: number

        The low end of the range.

      • max: number

        The high end of the range.

      Returns number

      The value within the range.