Assimp  v4.1. (December 2018)
Assimp::SMD::Vertex Struct Reference

Data structure for a vertex in a SMD file. More...

Public Member Functions

 Vertex () AI_NO_EXCEPT
 

Public Attributes

std::vector< std::pair< unsigned int, float > > aiBoneLinks
 Links to bones: pair.first is the bone index, pair.second is the vertex weight. More...
 
unsigned int iParentNode
 Vertex parent node. More...
 
aiVector3D nor
 
aiVector3D pos
 Vertex position, normal and texture coordinate. More...
 
aiVector3D uv
 

Detailed Description

Data structure for a vertex in a SMD file.

Constructor & Destructor Documentation

◆ Vertex()

Assimp::SMD::Vertex::Vertex ( )
inline

Member Data Documentation

◆ aiBoneLinks

std::vector<std::pair<unsigned int, float> > Assimp::SMD::Vertex::aiBoneLinks

Links to bones: pair.first is the bone index, pair.second is the vertex weight.

WARN: The remaining weight (to reach 1.0f) is assigned to the parent node/bone

◆ iParentNode

unsigned int Assimp::SMD::Vertex::iParentNode

Vertex parent node.

◆ nor

aiVector3D Assimp::SMD::Vertex::nor

◆ pos

aiVector3D Assimp::SMD::Vertex::pos

Vertex position, normal and texture coordinate.

◆ uv

aiVector3D Assimp::SMD::Vertex::uv

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