An interpolator that 'eases' both the beginning and end of the range.
This interpolator uses a quadratic 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/YiInterpolateQuadEaseInEaseOut.h>
Public Member Functions | |
virtual | ~CYIInterpolateQuadEaseInEaseOut () |
virtual float | Interpolate (float timePercentage) override |
![]() | |
virtual | ~CYITimeInterpolator () |
virtual void | Reset () |
|
virtual |
|
overridevirtual |
Remaps the value timePercentage 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.