You.i Engine
CYIInterpolateElasticEaseOut Class Reference

Detailed Description

An interpolator that applies an 'elastic' effect at the end of the range.

This interpolator simulates an object's position being affected by an elastic band.

#include <animation/YiInterpolateElasticEaseOut.h>

Inheritance diagram for CYIInterpolateElasticEaseOut:

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~CYIInterpolateElasticEaseOut()

virtual CYIInterpolateElasticEaseOut::~CYIInterpolateElasticEaseOut ( )

Member Function Documentation

◆ Interpolate()

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