Assimp  v4.1. (December 2018)
aiVertexWeight Struct Reference

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

Public Member Functions

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

Public Attributes

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

Detailed Description

A single influence of a bone on a vertex.

Constructor & Destructor Documentation

◆ aiVertexWeight() [1/2]

aiVertexWeight::aiVertexWeight ( )
inline

Default constructor.

◆ aiVertexWeight() [2/2]

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

Initialisation from a given index and vertex weight factor.

Parameters
pIDID
pWeightVertex weight factor

Member Data Documentation

◆ mVertexId

unsigned int aiVertexWeight::mVertexId

Index of the vertex which is influenced by the bone.

◆ mWeight

float aiVertexWeight::mWeight

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: