#include <CCMeshSkin.h>
Public Member Functions | |
unsigned int | getBoneCount () const |
void | setBoneCount (int boneCount) |
Bone * | getBoneByIndex (unsigned int index) const |
Bone * | getBoneByName (const std::string &id) const |
Bone * | getRootBone () const |
void | setRootBone (Bone *joint) |
int | getBoneIndex (Bone *joint) const |
Vec4 * | getMatrixPalette () |
unsigned int | getMatrixPaletteSize () const |
void | updateBoneMatrix () |
~MeshSkin () | |
bool | initFromSkinData (const SkinData &skindata) |
void | removeAllBones () |
void | addBone (Bone *bone) |
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 MeshSkin * | create (const std::string &filename, const std::string &name) |
Public Attributes | |
CC_CONSTRUCTOR_ACCESS | __pad0__: MeshSkin() |
Protected Attributes | |
Vector< Bone * > | _bones |
Bone * | _rootBone |
Vec4 * | _matrixPalette |
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... | |
~MeshSkin | ( | ) |
void addBone | ( | Bone * | bone | ) |
|
static |
Bone* getBoneByIndex | ( | unsigned int | index | ) | const |
Bone* getBoneByName | ( | const std::string & | id | ) | const |
unsigned int getBoneCount | ( | ) | const |
int getBoneIndex | ( | Bone * | joint | ) | const |
Vec4* getMatrixPalette | ( | ) |
unsigned int getMatrixPaletteSize | ( | ) | const |
Bone* getRootBone | ( | ) | const |
bool initFromSkinData | ( | const SkinData & | skindata | ) |
void removeAllBones | ( | ) |
void setBoneCount | ( | int | boneCount | ) |
void setRootBone | ( | Bone * | joint | ) |
void updateBoneMatrix | ( | ) |
CC_CONSTRUCTOR_ACCESS __pad0__ |
|
protected |
|
protected |