An interpolator that 'reverses' the provided range.
This interpolator reverses the provided range such that an input of 0.0 returns 1.0, and input of 0.1 returns 0.9, and so forth.
#include <animation/YiInterpolateInvert.h>

Public Member Functions | |
| virtual | ~CYIInterpolateInvert () |
| virtual float | Interpolate (float fTimePercentage) override |
Public Member Functions inherited from CYITimeInterpolator | |
| virtual | ~CYITimeInterpolator () |
| 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 |
|
overridevirtual |
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.
Implements CYITimeInterpolator.