# 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.

Structures for building a mesh.

 CSkinWeight ()
 ctor. More...

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


Constructor & Destructor Documentation

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

ctor.

Definition at line 104 of file mesh.h.


Member Data Documentation

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

What matrix of the skeleton shape this vertex use.

Definition at line 99 of file mesh.h.

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

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

Definition at line 101 of file mesh.h.


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