Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
A single influence of a bone on a vertex. More...
#include <mesh.h>
Public Member Functions | |
aiVertexWeight () AI_NO_EXCEPT | |
Default constructor. More... | |
aiVertexWeight (unsigned int pID, float pWeight) | |
Initialization from a given index and vertex weight factor. More... | |
bool | operator!= (const aiVertexWeight &rhs) const |
bool | operator== (const aiVertexWeight &rhs) const |
Public Attributes | |
unsigned int | mVertexId |
Index of the vertex which is influenced by the bone. More... | |
ai_real | mWeight |
The strength of the influence in the range (0...1). More... | |
A single influence of a bone on a vertex.
|
inline |
Default constructor.
|
inline |
Initialization from a given index and vertex weight factor.
pID | ID |
pWeight | Vertex weight factor |
|
inline |
|
inline |
unsigned int aiVertexWeight::mVertexId |
Index of the vertex which is influenced by the bone.
ai_real aiVertexWeight::mWeight |
The strength of the influence in the range (0...1).
The influence from all bones at one vertex amounts to 1.