Assimp  v4.1. (December 2018)
Assimp::LimitBoneWeightsProcess::Weight Struct Reference

Describes a bone weight on a vertex. More...

Public Member Functions

bool operator< (const Weight &pWeight) const
 Comparison operator to sort bone weights by descending weight. More...
 
 Weight () AI_NO_EXCEPT
 
 Weight (unsigned int pBone, float pWeight)
 

Public Attributes

unsigned int mBone
 Index of the bone. More...
 
float mWeight
 Weight of that bone on this vertex. More...
 

Detailed Description

Describes a bone weight on a vertex.

Constructor & Destructor Documentation

◆ Weight() [1/2]

Assimp::LimitBoneWeightsProcess::Weight::Weight ( )
inline

◆ Weight() [2/2]

Assimp::LimitBoneWeightsProcess::Weight::Weight ( unsigned int  pBone,
float  pWeight 
)
inline

Member Function Documentation

◆ operator<()

bool Assimp::LimitBoneWeightsProcess::Weight::operator< ( const Weight pWeight) const
inline

Comparison operator to sort bone weights by descending weight.

Member Data Documentation

◆ mBone

unsigned int Assimp::LimitBoneWeightsProcess::Weight::mBone

Index of the bone.

◆ mWeight

float Assimp::LimitBoneWeightsProcess::Weight::mWeight

Weight of that bone on this vertex.


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