You.i Engine
CYIInterpolateLinear Class Reference

Detailed Description

An interpolator that just reflects the input value.

This interpolator returns the provided input value directly to the user. Since the input values are expected to be linear, the output values are also linear.

#include <animation/YiInterpolateLinear.h>

Inheritance diagram for CYIInterpolateLinear:

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~CYIInterpolateLinear()

virtual CYIInterpolateLinear::~CYIInterpolateLinear ( )
virtual

Member Function Documentation

◆ Interpolate()

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