aiVertexWeight Struct Reference

A single influence of a bone on a vertex. More...

List of all members.

Public Member Functions

 aiVertexWeight (unsigned int pID, float pWeight)
 Initialisation from a given index and vertex weight factor.
 aiVertexWeight ()
 Default constructor.

Public Attributes

unsigned int mVertexId
 Index of the vertex which is influenced by the bone.
float mWeight
 The strength of the influence in the range (0...1).

Detailed Description

A single influence of a bone on a vertex.


Constructor & Destructor Documentation

aiVertexWeight::aiVertexWeight (  )  [inline]

Default constructor.

aiVertexWeight::aiVertexWeight ( unsigned int  pID,
float  pWeight 
) [inline]

Initialisation from a given index and vertex weight factor.

Parameters:
pID ID
pWeight Vertex weight factor

Member Data Documentation

Index of the vertex which is influenced by the bone.

The strength of the influence in the range (0...1).

The influence from all bones at one vertex amounts to 1.


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

Generated on 3 Jul 2012 for Assimp by  doxygen 1.6.1