Assimp
v4.1. (December 2018)
|
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... | |
Material * | m_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 |
Data structure to store a mesh.
|
inlineexplicit |
Constructor.
|
inline |
Destructor.
std::vector<Face*> Assimp::ObjFile::Mesh::m_Faces |
Array with pointer to all stored faces.
bool Assimp::ObjFile::Mesh::m_hasNormals |
True, if normals are stored.
bool Assimp::ObjFile::Mesh::m_hasVertexColors |
True, if vertex colors are stored.
std::string Assimp::ObjFile::Mesh::m_name |
The name for the mesh.
Material* Assimp::ObjFile::Mesh::m_pMaterial |
Assigned material.
unsigned int Assimp::ObjFile::Mesh::m_uiMaterialIndex |
Material index.
unsigned int Assimp::ObjFile::Mesh::m_uiNumIndices |
Number of stored indices.
unsigned int Assimp::ObjFile::Mesh::m_uiUVCoordinates[AI_MAX_NUMBER_OF_TEXTURECOORDS] |
Number of UV.
|
static |