Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
SkinData Struct Reference

skin data More...

Public Member Functions

void resetData ()
 Reset data.
 
var resetData ()
 Reset data.
 
local resetData ()
 Reset data.
 
void addSkinBoneNames (const std::string &name)
 Add name for SkinBone. More...
 
var addSkinBoneNames ( var name)
 Add name for SkinBone. More...
 
local addSkinBoneNames ( local name)
 Add name for SkinBone. More...
 
void addNodeBoneNames (const std::string &name)
 Add name for NodeBone. More...
 
local addNodeBoneNames ( local name)
 Add name for NodeBone. More...
 
int getSkinBoneNameIndex (const std::string &name) const
 Get the index of the specified SkinBone name. More...
 
local getSkinBoneNameIndex ( local name)
 Get the index of the specified SkinBone name. More...
 
int getBoneNameIndex (const std::string &name) const
 Get the index of the specified Bone name(skinBone & nodeBone both). More...
 

Public Attributes

std::vector< std::string > skinBoneNames
 The skin bones list which affect skin.
 
var skinBoneNames
 The skin bones list which affect skin.
 
local skinBoneNames
 The skin bones list which affect skin.
 
std::vector< std::string > nodeBoneNames
 Node bones don't affect skin, all bones [skinBone, nodeBone].
 
var nodeBoneNames
 Node bones don't affect skin, all bones [skinBone, nodeBone].
 
local nodeBoneNames
 Node bones don't affect skin, all bones [skinBone, nodeBone].
 
std::vector< Mat4inverseBindPoseMatrices
 Bind pose of skin bone, only for skin bone.
 
var inverseBindPoseMatrices
 Bind pose of skin bone, only for skin bone.
 
local inverseBindPoseMatrices
 Bind pose of skin bone, only for skin bone.
 
std::vector< Mat4skinBoneOriginMatrices
 Original bone transform, for skin bone.
 
var skinBoneOriginMatrices
 Original bone transform, for skin bone.
 
local skinBoneOriginMatrices
 Original bone transform, for skin bone.
 
std::vector< Mat4nodeBoneOriginMatrices
 Original bone transform, for node bone.
 
var nodeBoneOriginMatrices
 Original bone transform, for node bone.
 
local nodeBoneOriginMatrices
 Original bone transform, for node bone.
 
std::map< int, std::vector< int > > boneChild
 Bone child info[key parent, value child], both skinbone and node bone.
 
var boneChild
 Bone child info[key parent, value child], both skinbone and node bone.
 
local boneChild
 Bone child info[key parent, value child], both skinbone and node bone.
 
int rootBoneIndex
 The root bone index.
 

Detailed Description

skin data

Member Function Documentation

void addSkinBoneNames ( const std::string &  name)
inline

Add name for SkinBone.

The SkinBone name.

var addSkinBoneNames ( var  name)
inline

Add name for SkinBone.

The SkinBone name.

local addSkinBoneNames ( local  name)
inline

Add name for SkinBone.

The SkinBone name.

void addNodeBoneNames ( const std::string &  name)
inline

Add name for NodeBone.

the NodeBone name.

var addNodeBoneNames ( var  name)
inline

Add name for NodeBone.

the NodeBone name.

local addNodeBoneNames ( local  name)
inline

Add name for NodeBone.

the NodeBone name.

int getSkinBoneNameIndex ( const std::string &  name) const
inline

Get the index of the specified SkinBone name.

The specified name. The index.

var getSkinBoneNameIndex ( var  name)
inline

Get the index of the specified SkinBone name.

The specified name. The index.

local getSkinBoneNameIndex ( local  name)
inline

Get the index of the specified SkinBone name.

The specified name. The index.

int getBoneNameIndex ( const std::string &  name) const
inline

Get the index of the specified Bone name(skinBone & nodeBone both).

The specified name. The index.

var getBoneNameIndex ( var  name)
inline

Get the index of the specified Bone name(skinBone & nodeBone both).

The specified name. The index.

local getBoneNameIndex ( local  name)
inline

Get the index of the specified Bone name(skinBone & nodeBone both).

The specified name. The index.


The documentation for this struct was generated from the following file: