Assimp  v3.1.1 (June 2014)
Assimp::SMD::Vertex Struct Reference

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

Public Member Functions

 Vertex ()
 

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

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

Member Data Documentation

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

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

Vertex parent node.

aiVector3D Assimp::SMD::Vertex::nor
aiVector3D Assimp::SMD::Vertex::pos

Vertex position, normal and texture coordinate.

aiVector3D Assimp::SMD::Vertex::uv

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