From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02865.html | 183 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 docs/doxygen/nel/a02865.html (limited to 'docs/doxygen/nel/a02865.html') diff --git a/docs/doxygen/nel/a02865.html b/docs/doxygen/nel/a02865.html new file mode 100644 index 00000000..a45aee05 --- /dev/null +++ b/docs/doxygen/nel/a02865.html @@ -0,0 +1,183 @@ + + +NeL: NL3D::CMesh::CSkinWeight struct Reference + + + +
+

NL3D::CMesh::CSkinWeight Struct Reference

#include <mesh.h> +

+


Detailed Description

+Skinning: A skin weight for a vertex. NB: if you don't use all matrix for this vertex, use at least the 0th matrix, and simply set 0 on Weights you don't use. +

+ +

+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).

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CMesh::CSkinWeight::CSkinWeight  )  [inline]
+
+ + + + + +
+   + + +

+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                 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CMesh::CSkinWeight::serial NLMISC::IStream f  )  throw (NLMISC::EStream)
+
+ + + + + +
+   + + +

+ +

+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 }
+
+


Field Documentation

+

+ + + + +
+ + +
uint32 NL3D::CMesh::CSkinWeight::MatrixId[ 4 ] +
+
+ + + + + +
+   + + +

+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<().

+

+ + + + +
+ + +
float NL3D::CMesh::CSkinWeight::Weights[ 4 ] +
+
+ + + + + +
+   + + +

+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<().

+


The documentation for this struct was generated from the following files: +
Generated on Tue Mar 16 06:51:04 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1