Container for basic interpolator functions.
An interpolator allows for remapping a linear 0.0 to 1.0 range onto a different (possibly transformed) range. The typical use of this class is to provide a set of equally spaced values (e.g. 0.0, 0.2, 0.4, 0.6, 0.8 and 1.0) and getting a different set of values, possibly spaced differently (e.g. 0.0, 0.1, 0.2, 0.4, 0.8 and 1.0) or even transformed (e.g. 1.0, 0.8, 0.6, 0.4, 0.2 and 0.0).
#include <animation/YiTimeInterpolator.h>

Public Member Functions | |
| virtual | ~CYITimeInterpolator () |
| virtual float | Interpolate (float fTimePercentage)=0 |
| virtual void | Reset () |
Public Member Functions inherited from CYIScriptableRTTIObject | |
| CYIScriptableRTTIObject () | |
| virtual | ~CYIScriptableRTTIObject () |
| virtual const CYIRuntimeTypeInfo * | GetRuntimeTypeInfoForScriptObject () const override |
Public Member Functions inherited from CYIScriptableObject | |
| CYIScriptableObject () | |
| CYIScriptableObject (const CYIScriptableObject &other) | |
| CYIScriptableObject & | operator= (const CYIScriptableObject &other) |
| virtual | ~CYIScriptableObject () |
| CYIBindingImplementation * | GetBindingImplementation () const |
| void | SetBindingImplementation (CYIBindingImplementation *pBindingImplementation) |
Additional Inherited Members | |
Protected Member Functions inherited from CYIScriptableRTTIObject | |
| virtual std::pair< const CYIRuntimeTypeInfo *, const void * > | GetRuntimeTypeInfoWithObject () const =0 |
|
virtual |
|
pure virtual |
Remaps the value fTimePercentage onto a new range and returns the remapped value. The range used to remap onto is dependent on the specific type of interpolator used.
Implemented in CYIInterpolatePath, CYIInterpolateCircularEaseInEaseOut, CYIInterpolateBezier, CYIInterpolateCircularEaseOut, CYIInterpolateCircularEaseIn, CYIInterpolateSigmoid, CYIInterpolateBounceEaseOut, CYIInterpolateElasticEaseOut, CYIInterpolateInvert, CYIInterpolateLinear, CYIInterpolateQuadEaseIn, CYIInterpolateQuadEaseInEaseOut, CYIInterpolateQuadEaseOut, CYIInterpolateQuintEaseOut, CYIInterpolateHold, CYIInterpolateBackEaseIn, and CYIInterpolateBackEaseOut.
|
virtual |
Resets the state of this interpolator. The interpolator will act as if it has newly been constructed.
Reimplemented in CYIInterpolatePath.