Skeleton. More...
#include <CCSkeleton3D.h>
Public Member Functions | |
| ssize_t | getBoneCount () const |
| get total bone count More... | |
| Bone3D * | getBoneByIndex (unsigned int index) const |
| get bone More... | |
| Bone3D * | getBoneByName (const std::string &id) const |
| ssize_t | getRootCount () const |
| get & set root bone More... | |
| Bone3D * | getRootBone (int index) const |
| int | getBoneIndex (Bone3D *bone) const |
| get bone index More... | |
| void | updateBoneMatrix () |
| refresh bone world matrix More... | |
| ~Skeleton3D () | |
| void | removeAllBones () |
| remove all bones More... | |
| void | addBone (Bone3D *bone) |
| add bone More... | |
| Bone3D * | createBone3D (const NodeData &nodedata) |
| create Bone3D from NodeData 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 Skeleton3D * | create (const std::vector< NodeData * > &skeletondata) |
Public Attributes | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: Skeleton3D() |
Protected Attributes | |
| Vector< Bone3D * > | _bones |
| Vector< Bone3D * > | _rootBones |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
| var | _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... | |
Skeleton.
| ~Skeleton3D | ( | ) |
| void addBone | ( | Bone3D * | bone | ) |
add bone
|
static |
| Bone3D* getBoneByIndex | ( | unsigned int | index | ) | const |
get bone
| Bone3D* getBoneByName | ( | const std::string & | id | ) | const |
| ssize_t getBoneCount | ( | ) | const |
get total bone count
| int getBoneIndex | ( | Bone3D * | bone | ) | const |
get bone index
| Bone3D* getRootBone | ( | int | index | ) | const |
| ssize_t getRootCount | ( | ) | const |
get & set root bone
| void removeAllBones | ( | ) |
remove all bones
| void updateBoneMatrix | ( | ) |
refresh bone world matrix
| CC_CONSTRUCTOR_ACCESS __pad0__ |