Assimp
v2.0 (November 2010)
|
A single influence of a bone on a vertex. More...
Public Member Functions | |
aiVertexWeight () | |
Default constructor. | |
aiVertexWeight (unsigned int pID, float pWeight) | |
Initialisation from a given index and vertex weight factor. | |
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). |
A single influence of a bone on a vertex.
aiVertexWeight::aiVertexWeight | ( | ) | [inline] |
Default constructor.
aiVertexWeight::aiVertexWeight | ( | unsigned int | pID, |
float | pWeight | ||
) | [inline] |
Initialisation from a given index and vertex weight factor.
pID | ID |
pWeight | Vertex weight factor |
unsigned int aiVertexWeight::mVertexId |
Index of the vertex which is influenced by the bone.
float aiVertexWeight::mWeight |
The strength of the influence in the range (0...1).
The influence from all bones at one vertex amounts to 1.