struct TCurveCache

template<class T>

Holds cached information used for animation curve evaluation so that sequential evaluations can be sped up.

You should not use the same instance of this object for evaluating multiple different animation curves.

Private

Fields

cachedKey

u32 cachedKey

Left-most key the curve was last evaluated at. -1 if no cached data.

cachedCurveStart

float cachedCurveStart

Time relative to the animation curve, at which the cached data starts.

cachedCurveEnd

float cachedCurveEnd

Time relative to the animation curve, at which the cached data end.

cachedCubicCoefficients

T[4] cachedCubicCoefficients

Coefficients of the cubic hermite curve, in order [t^3, t^2, t, 1].

Coefficients assume unnormalized , with length of

  • .