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