Axmol Engine 2.4.0-258ceca
|
curve of bone's position, rotation or scale More...
#include <AnimationCurve.h>
Inherits Object.
Public Member Functions | |
void | evaluate (float time, float *dst, EvaluateType type) const |
evaluate value of time | |
void | setEvaluateFun (std::function< void(float time, float *dst)> fun) |
set evaluate function, allow the user use own function | |
float | getStartTime () const |
get start time | |
float | getEndTime () const |
get end time | |
int | determineIndex (float time) const |
Determine index by time. | |
![]() | |
void | retain () |
Retains the ownership. | |
void | release () |
Releases the ownership immediately. | |
Object * | autorelease () |
Releases the ownership sometime soon automatically. | |
unsigned int | getReferenceCount () const |
Returns the Object's current reference count. | |
virtual | ~Object () |
Destructor. | |
Static Public Member Functions | |
static AnimationCurve * | create (float *keytime, float *value, int count) |
create animation curve | |
Additional Inherited Members | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
curve of bone's position, rotation or scale
@lua NA
void evaluate | ( | float | time, |
float * | dst, | ||
EvaluateType | type ) const |
evaluate value of time
time | Time to be estimated |
dst | Estimated value of that time |
type | EvaluateType |