#include <mesh.h>
Definition at line 113 of file mesh.h.
Public Member Functions | |
CSkinWeight () | |
ctor. | |
void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
Data Fields | |
uint32 | MatrixId [4] |
What matrix of the skeleton shape this vertex use. | |
float | Weights [4] |
weight of this matrix (sum of 4 must be 1). |
|
ctor.
Definition at line 121 of file mesh.h. References MatrixId, NL3D_MESH_SKINNING_MAX_MATRIX, uint, and Weights.
00122 { 00123 for(uint i=0;i<NL3D_MESH_SKINNING_MAX_MATRIX;i++) 00124 { 00125 MatrixId[i]=0; 00126 Weights[i]=0; 00127 } 00128 } |
|
Definition at line 2221 of file mesh.cpp. References NL3D_MESH_SKINNING_MAX_MATRIX.
02222 { 02223 for(int i=0;i<NL3D_MESH_SKINNING_MAX_MATRIX;++i) 02224 { 02225 f.serial(MatrixId[i]); 02226 f.serial(Weights[i]); 02227 } 02228 } |
|
What matrix of the skeleton shape this vertex use.
Definition at line 116 of file mesh.h. Referenced by NL3D::CMeshMRMGeom::applySkin(), NL3D::CLodCharacterBuilder::applySkin(), NL3D::CMeshGeom::CFaceTmp::buildBoneUse(), NL3D::CMRMBuilder::buildMeshBuildMrm(), NL3D::CMeshGeom::buildSkin(), NL3D::CMRMBuilder::collapseSkinWeight(), CSkinWeight(), NL3D::CMRMBuilder::normalizeSkinWeight(), and NL3D::CMRMMeshFinal::CWedge::operator<(). |
|
weight of this matrix (sum of 4 must be 1).
Definition at line 118 of file mesh.h. Referenced by NL3D::CMeshMRMGeom::applySkin(), NL3D::CLodCharacterBuilder::applySkin(), NL3D::CMRMBuilder::buildFinalMRM(), NL3D::CMRMBuilder::buildMeshBuildMrm(), NL3D::CMeshGeom::buildSkin(), NL3D::CMRMBuilder::collapseSkinWeight(), CSkinWeight(), NL3D::CMRMBuilder::normalizeSkinWeight(), and NL3D::CMRMMeshFinal::CWedge::operator<(). |