Assimp  v3.1.1 (June 2014)
Assimp::ObjFile::Mesh Struct Reference

Data structure to store a mesh. More...

Public Member Functions

 Mesh (const std::string &name)
 Constructor. More...
 
 ~Mesh ()
 Destructor. More...
 

Public Attributes

std::vector< Face * > m_Faces
 Array with pointer to all stored faces. More...
 
bool m_hasNormals
 True, if normals are stored. More...
 
bool m_hasVertexColors
 True, if vertex colors are stored. More...
 
std::string m_name
 The name for the mesh. More...
 
Materialm_pMaterial
 Assigned material. More...
 
unsigned int m_uiMaterialIndex
 Material index. More...
 
unsigned int m_uiNumIndices
 Number of stored indices. More...
 
unsigned int m_uiUVCoordinates [AI_MAX_NUMBER_OF_TEXTURECOORDS]
 Number of UV. More...
 

Static Public Attributes

static const unsigned int NoMaterial = ~0u
 

Detailed Description

Data structure to store a mesh.

Constructor & Destructor Documentation

◆ Mesh()

Assimp::ObjFile::Mesh::Mesh ( const std::string &  name)
inlineexplicit

Constructor.

◆ ~Mesh()

Assimp::ObjFile::Mesh::~Mesh ( )
inline

Destructor.

Member Data Documentation

◆ m_Faces

std::vector<Face*> Assimp::ObjFile::Mesh::m_Faces

Array with pointer to all stored faces.

◆ m_hasNormals

bool Assimp::ObjFile::Mesh::m_hasNormals

True, if normals are stored.

◆ m_hasVertexColors

bool Assimp::ObjFile::Mesh::m_hasVertexColors

True, if vertex colors are stored.

◆ m_name

std::string Assimp::ObjFile::Mesh::m_name

The name for the mesh.

◆ m_pMaterial

Material* Assimp::ObjFile::Mesh::m_pMaterial

Assigned material.

◆ m_uiMaterialIndex

unsigned int Assimp::ObjFile::Mesh::m_uiMaterialIndex

Material index.

◆ m_uiNumIndices

unsigned int Assimp::ObjFile::Mesh::m_uiNumIndices

Number of stored indices.

◆ m_uiUVCoordinates

unsigned int Assimp::ObjFile::Mesh::m_uiUVCoordinates[AI_MAX_NUMBER_OF_TEXTURECOORDS]

Number of UV.

◆ NoMaterial

const unsigned int Assimp::ObjFile::Mesh::NoMaterial = ~0u
static

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