You.i Engine
CYIInterpolateInvert Class Reference

Detailed Description

An interpolator that 'reverses' the provided range.

This interpolator reverses the provided range such that an input of 0.0 returns 1.0, and input of 0.1 returns 0.9, and so forth.

#include <animation/YiInterpolateInvert.h>

Inheritance diagram for CYIInterpolateInvert:

Public Member Functions

virtual ~CYIInterpolateInvert ()
 
virtual float Interpolate (float fTimePercentage) override
 
- Public Member Functions inherited from CYITimeInterpolator
virtual ~CYITimeInterpolator ()
 
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 CYIInterpolateInvert::~CYIInterpolateInvert ( )
virtual

Member Function Documentation

virtual float CYIInterpolateInvert::Interpolate ( float  fTimePercentage)
overridevirtual

Remaps the value fTimePercentage 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: