CurveFunction: (time: number) => number

A function that defines how the value changes over time.

Type declaration

    • (time: number): number
    • Parameters

      • time: number

        A normalized value between 0 and 1 representing the progress of the curve.

      Returns number

      The corresponding value based on the curve function.