![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
#include <MAnimation.h>
Classes | |
| class | MDRKey |
Public Member Functions | |
| MAnimation () | |
| ~MAnimation () | |
| ReturnType | getValue () const |
| void | update (const MTime &aTime) |
| The method recalculate value to aTime. | |
| void | setKey (PassType aValue, const MTime &aTime) |
| The method creates a key with a value at a given time. | |
| void | setMode (MDRPlayMode aMode) |
| void | removeAllKeys () |
| MAnimation () | |
| ~MAnimation () | |
| ReturnType | getValue () const |
| void | update (const MTime &aTime) |
| void | setKey (PassType aValue, const MTime &aTime) |
| void | setMode (MDRPlayMode aMode) |
| void | removeAllKeys () |
| MAnimation () | |
| ~MAnimation () | |
| ReturnType | getValue () const |
| void | update (const MTime &aTime) |
| void | setKey (PassType aValue, const MTime &aTime) |
| void | setMode (MDRPlayMode aMode) |
| void | removeAllKeys () |
Private Types | |
| typedef MArray< MDRKey > | MDRKeys |
| typedef MArray< MDRKey > | MDRKeys |
| typedef MArray< MDRKey > | MDRKeys |
Private Member Functions | |
| void | lerp (double aCoefficient, PassType aLeft, PassType aRight, Type &aReturnValue) const |
| void | lerp (double aCoefficient, PassType aLeft, PassType aRight, Type &aReturnValue) const |
| void | lerp (double aCoefficient, PassType aLeft, PassType aRight, Type &aReturnValue) const |
| template<> | |
| void | lerp (double aCoefficient, float aLeft, float aRight, float &aReturnValue) const |
| template<> | |
| void | lerp (double aCoefficient, int aLeft, int aRight, int &aReturnValue) const |
| template<> | |
| void | lerp (double aCoefficient, float aLeft, float aRight, float &aReturnValue) const |
| template<> | |
| void | lerp (double aCoefficient, int aLeft, int aRight, int &aReturnValue) const |
| template<> | |
| void | lerp (double aCoefficient, float aLeft, float aRight, float &aReturnValue) const |
| template<> | |
| void | lerp (double aCoefficient, int aLeft, int aRight, int &aReturnValue) const |
Private Attributes | |
| Type | theValue |
| MDRPlayMode | theMode |
| MDRKeys | theKeys |
The class represents a very simple linear animation. By using this class you should be able to animate any type of value with few line of codes only.
|
private |
|
private |
|
private |
| enum MAnimation::MDRPlayMode |
| enum MAnimation::MDRPlayMode |
| enum MAnimation::MDRPlayMode |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
| void MAnimation< Type, PassType, ReturnType >::setKey | ( | PassType | aValue, |
| const MTime & | aTime | ||
| ) |
| void MAnimation< Type, PassType, ReturnType >::setKey | ( | PassType | aValue, |
| const MTime & | aTime | ||
| ) |
The method creates a key with a value at a given time.
| void MAnimation< Type, PassType, ReturnType >::setKey | ( | PassType | aValue, |
| const MTime & | aTime | ||
| ) |
|
inline |
|
inline |
|
inline |
| void MAnimation< Type, PassType, ReturnType >::update | ( | const MTime & | aTime | ) |
| void MAnimation< Type, PassType, ReturnType >::update | ( | const MTime & | aTime | ) |
| void MAnimation< Type, PassType, ReturnType >::update | ( | const MTime & | aTime | ) |
The method recalculate value to aTime.
|
private |
|
private |
|
private |