An interpolator that 'eases' the beginning and end of the range using a Sigmoid function.
This interpolator uses a Sigmoid function (also known as generalised logistic function) to 'ease' the beginning and end of the range, making it appear as if an object is slowly gaining momentum before slowly coming to a stop.
#include <animation/YiInterpolateSigmoid.h>

Public Member Functions | |
| CYIInterpolateSigmoid () | |
| virtual | ~CYIInterpolateSigmoid () |
| 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 |
| CYIInterpolateSigmoid::CYIInterpolateSigmoid | ( | ) |
|
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.