You.i Engine
CYIInterpolateHold Class Reference

Detailed Description

An interpolator that always outputs the same value: 1.0.

#include <animation/YiInterpolateHold.h>

Inheritance diagram for CYIInterpolateHold:

Public Member Functions

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

Constructor & Destructor Documentation

◆ CYIInterpolateHold()

CYIInterpolateHold::CYIInterpolateHold ( )

◆ ~CYIInterpolateHold()

virtual CYIInterpolateHold::~CYIInterpolateHold ( )
virtual

Member Function Documentation

◆ Interpolate()

virtual float CYIInterpolateHold::Interpolate ( float  timePercentage)
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.


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