A class for evaluating a curve at a specific time.

Constructors

Methods

Constructors

Methods

  • Evaluate the curve at the given time. Specify forceReset if the underlying curve keys have changed since the last evaluation.

    Parameters

    • time: number

      Time to evaluate the curve at.

    • OptionalforceReset: boolean = false

      Force reset of the curve.

    Returns number

    The evaluated value.