You.i Engine
CYIInterpolateQuadEaseOut Class Reference

Detailed Description

An interpolator that 'eases' the end of the range.

This interpolator uses a quadratic function to 'ease' the end of the range, making it appear as if an object is slowly coming to a stop.

#include <animation/YiInterpolateQuadEaseOut.h>

Inheritance diagram for CYIInterpolateQuadEaseOut:

Public Member Functions

virtual ~CYIInterpolateQuadEaseOut ()
virtual float Interpolate (float timePercentage) override
- Public Member Functions inherited from CYITimeInterpolator
virtual ~CYITimeInterpolator ()
virtual void Reset ()

Constructor & Destructor Documentation

◆ ~CYIInterpolateQuadEaseOut()

virtual CYIInterpolateQuadEaseOut::~CYIInterpolateQuadEaseOut ( )

Member Function Documentation

◆ Interpolate()

virtual float CYIInterpolateQuadEaseOut::Interpolate ( float  timePercentage)

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.

The documentation for this class was generated from the following file: