You.i Engine
CYIInterpolateQuadEaseIn Class Reference

Detailed Description

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

This interpolator uses a quadratic function to 'ease' the beginning of the range, making it appear as if an object is slowly gaining momentum.

#include <animation/YiInterpolateQuadEaseIn.h>

Inheritance diagram for CYIInterpolateQuadEaseIn:

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~CYIInterpolateQuadEaseIn()

virtual CYIInterpolateQuadEaseIn::~CYIInterpolateQuadEaseIn ( )

Member Function Documentation

◆ Interpolate()

virtual float CYIInterpolateQuadEaseIn::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: