Skinning definition for nodes.
map< string, Joint * > jointsByName
const vector< Joint > & getJoints()
vector< vector< JointWeight > > verticesJointsWeights
Joint * getJointByName(const string &name)
Get joint by name.
void setVerticesJointsWeights(const vector< vector< JointWeight > > &verticesJointsWeights)
Sets up vertices joints weights.
void setWeights(const vector< float > &weights)
Set up weights.
Skinning()
Public constructor.
const vector< vector< JointWeight > > & getVerticesJointsWeights()
const vector< float > & getWeights()
void setupJointsByName()
Set up joints by name.
void setJoints(const vector< Joint > &joints)
Set up joints.