# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CMesh::CSkinWeight Struct Reference

Skinning: A skin weight for a vertex. More...

#include <mesh.h>

List of all members.

Public Methods

 CSkinWeight ()
 ctor. More...

void serial (NLMISC::IStream &f) throw (NLMISC::EStream)

Public Attributes

uint32 MatrixId [NL3D_MESH_SKINNING_MAX_MATRIX]
 What matrix of the skeleton shape this vertex use. More...

float Weights [NL3D_MESH_SKINNING_MAX_MATRIX]
 weight of this matrix (sum of 4 must be 1). More...


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 112 of file mesh.h.


Constructor & Destructor Documentation

NL3D::CMesh::CSkinWeight::CSkinWeight   [inline]
 

ctor.

Definition at line 120 of file mesh.h.

References MatrixId, NL3D_MESH_SKINNING_MAX_MATRIX, and Weights.


Member Function Documentation

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

Definition at line 2090 of file mesh.cpp.

References NL3D_MESH_SKINNING_MAX_MATRIX.


Member Data Documentation

uint32 NL3D::CMesh::CSkinWeight::MatrixId[NL3D_MESH_SKINNING_MAX_MATRIX]
 

What matrix of the skeleton shape this vertex use.

Definition at line 115 of file mesh.h.

Referenced by CSkinWeight.

float NL3D::CMesh::CSkinWeight::Weights[NL3D_MESH_SKINNING_MAX_MATRIX]
 

weight of this matrix (sum of 4 must be 1).

Definition at line 117 of file mesh.h.

Referenced by CSkinWeight.


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