static animation data, shared More...
Inherits Ref.
Classes | |
| class | Curve |
| animation curve, translation, rotation, and scale More... | |
Public Member Functions | |
| float | getDuration () const |
| get duration | |
| Curve * | getBoneCurveByName (const std::string &name) const |
| get bone curve More... | |
| var | getBoneCurveByName ( var name) |
| get bone curve More... | |
|
const std::unordered_map < std::string, Curve * > & | getBoneCurves () const |
| get the bone Curves set | |
| local | getBoneCurves () |
| get the bone Curves set | |
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 Animation3D * | create (const std::string &filename, const std::string &animationName="") |
| read all animation or only the animation with given animationName? animationName == "" read the first. More... | |
| static Animation3D * | getOrCreate (const std::string &filename, const std::string &animationName="") |
| the cache method to create or get an Animation3D object | |
| local | getOrCreate ( local filename) |
| the cache method to create or get an Animation3D object | |
Protected Member Functions | |
| bool | init (const Animation3DData &data) |
| init Animation3D from bundle data | |
| var | init ( var data) |
| init Animation3D from bundle data | |
| local | init ( local data) |
| init Animation3D from bundle data | |
| bool | initWithFile (const std::string &filename, const std::string &animationName) |
| init Animation3D with file name and animation name | |
| local | initWithFile ( local filename, local animationName) |
| init Animation3D with file name and animation name | |
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 | |
static animation data, shared
|
static |
read all animation or only the animation with given animationName? animationName == "" read the first.
|
static |
read all animation or only the animation with given animationName? animationName == "" read the first.
|
static |
read all animation or only the animation with given animationName? animationName == "" read the first.
| Curve* getBoneCurveByName | ( | const std::string & | name | ) | const |
get bone curve
| var getBoneCurveByName | ( | var | name | ) |
get bone curve