curve of bone's position, rotation or scale More...
Inherits Ref.
Public Member Functions | |
| void | evaluate (float time, float *dst, EvaluateType type) const |
| evalute value of time More... | |
| 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 | |
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 () |
| Destructor. More... | |
Static Public Member Functions | |
| static AnimationCurve * | create (float *keytime, float *value, int count) |
| create animation curve | |
| var | create ( var keytime, var value, var count) |
| create animation curve | |
Protected Member Functions | |
| int | determineIndex (float time) const |
| Determine index by time. | |
| var | determineIndex ( var time) |
| Determine index by time. | |
Additional Inherited Members | |
Public Attributes inherited from Ref | |
| unsigned int | _ID |
| object id, ScriptSupport need public _ID | |
| int | _luaID |
| Lua reference id. | |
| void * | _scriptObject |
| scriptObject, support for swift | |
curve of bone's position, rotation or scale
| void evaluate | ( | float | time, |
| float * | dst, | ||
| EvaluateType | type | ||
| ) | const |
evalute value of time
| time | Time to be estimated |
| dst | Estimated value of that time |
| type | EvaluateType |
| var evaluate | ( | var | time, |
| var | dst, | ||
| var | type | ||
| ) |
evalute value of time
| time | Time to be estimated |
| dst | Estimated value of that time |
| type | EvaluateType |