You.i Engine
CYITimeInterpolator Class Referenceabstract

Detailed Description

Container for basic interpolator functions.

An interpolator allows for remapping a linear 0.0 to 1.0 range onto a different (possibly transformed) range. The typical use of this class is to provide a set of equally spaced values (e.g. 0.0, 0.2, 0.4, 0.6, 0.8 and 1.0) and getting a different set of values, possibly spaced differently (e.g. 0.0, 0.1, 0.2, 0.4, 0.8 and 1.0) or even transformed (e.g. 1.0, 0.8, 0.6, 0.4, 0.2 and 0.0).

See also
CYITimeInterpolators

#include <animation/YiTimeInterpolator.h>

Inheritance diagram for CYITimeInterpolator:

Public Member Functions

virtual ~CYITimeInterpolator ()
 
virtual float Interpolate (float fTimePercentage)=0
 
virtual void Reset ()
 
- Public Member Functions inherited from CYIScriptableRTTIObject
 CYIScriptableRTTIObject ()
 
virtual ~CYIScriptableRTTIObject ()
 
virtual const CYIRuntimeTypeInfoGetRuntimeTypeInfoForScriptObject () const override
 
- Public Member Functions inherited from CYIScriptableObject
 CYIScriptableObject ()
 
 CYIScriptableObject (const CYIScriptableObject &other)
 
CYIScriptableObjectoperator= (const CYIScriptableObject &other)
 
virtual ~CYIScriptableObject ()
 
CYIBindingImplementationGetBindingImplementation () const
 
void SetBindingImplementation (CYIBindingImplementation *pBindingImplementation)
 

Additional Inherited Members

- Protected Member Functions inherited from CYIScriptableRTTIObject
virtual std::pair< const CYIRuntimeTypeInfo *, const void * > GetRuntimeTypeInfoWithObject () const =0
 

Constructor & Destructor Documentation

virtual CYITimeInterpolator::~CYITimeInterpolator ( )
virtual

Member Function Documentation

virtual float CYITimeInterpolator::Interpolate ( float  fTimePercentage)
pure virtual
virtual void CYITimeInterpolator::Reset ( )
virtual

Resets the state of this interpolator. The interpolator will act as if it has newly been constructed.

Reimplemented in CYIInterpolatePath.


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