You.i Engine
CYIInterpolateBounceEaseOut Class Reference

Detailed Description

An interpolator that 'bounces' at the end of the range.

This interpolator simulates an object falling and 'bouncing' a few times.

#include <animation/YiInterpolateBounceEaseOut.h>

Inheritance diagram for CYIInterpolateBounceEaseOut:

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~CYIInterpolateBounceEaseOut()

virtual CYIInterpolateBounceEaseOut::~CYIInterpolateBounceEaseOut ( )

Member Function Documentation

◆ Interpolate()

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