struct
TCurveIntegrationCache
template<class T>Holds cached information used for integrated animation curve evaluation.
Evaluations with the cache provided are significantly faster than non-cached evaluations.
Public
Methods
~TCurveIntegrationCache<T>
~TCurveIntegrationCache<T>()
Private
Methods
Init
void Init(u32 numKeys) const
Initializes the memory required for single integration cache.
InitDouble
void InitDouble(u32 numKeys) const
Initializes the memory required for double integration cache.
Fields
segmentSums
T * segmentSums
Contains a list of cumulative areas beneath the curve of each segment.
A segment represents the part of the curve between two keyframes.
doubleSegmentSums
T * doubleSegmentSums
Contains a list of cumulative doubly integrated areas beneath the curve of each segment.
A segment represents the part of the curve between two keyframes.
coeffs
T (*)[4] coeffs
Contains a list of integrated cubic coefficients for each keyframe.