Skeleton. More...
Inherits Ref.
Public Member Functions | |
ssize_t | getBoneCount () const |
get total bone count | |
Bone3D * | getBoneByIndex (unsigned int index) const |
get bone | |
ssize_t | getRootCount () const |
get & set root bone | |
int | getBoneIndex (Bone3D *bone) const |
get bone index | |
void | updateBoneMatrix () |
refresh bone world matrix | |
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 Skeleton3D * | create (const std::vector< NodeData * > &skeletondata) |
@lua NA | |
Protected Member Functions | |
void | removeAllBones () |
remove all bones | |
void | addBone (Bone3D *bone) |
add bone | |
Bone3D * | createBone3D (const NodeData &nodedata) |
create Bone3D from NodeData | |
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 | |
bool | _rooted |
When true, it means that the object was already rooted. | |
Skeleton.