curve of bone's position, rotation or scale More...
#include <CCAnimationCurve.h>
Public Member Functions | |
void | evaluate (float time, float *dst, EvaluateType type) const |
void | setEvaluateFun (std::function< void(float time, float *dst)> fun) |
float | getStartTime () const |
float | getEndTime () const |
virtual | ~AnimationCurve () |
int | determineIndex (float time) const |
Determine index by time. More... | |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Static Public Member Functions | |
static AnimationCurve * | create (float *keytime, float *value, int count) |
Public Attributes | |
CC_CONSTRUCTOR_ACCESS | __pad0__: AnimationCurve() |
Protected Attributes | |
float * | _value |
float * | _keytime |
int | _count |
int | _componentSizeByte |
std::function< void(float time, float *dst)> | _evaluateFun |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
curve of bone's position, rotation or scale
|
virtual |
|
static |
int determineIndex | ( | float | time | ) | const |
Determine index by time.
void evaluate | ( | float | time, |
float * | dst, | ||
EvaluateType | type | ||
) | const |
float getEndTime | ( | ) | const |
float getStartTime | ( | ) | const |
void setEvaluateFun | ( | std::function< void(float time, float *dst)> | fun | ) |
CC_CONSTRUCTOR_ACCESS __pad0__ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |