This class is used to check and modify the properties of a graphics mesh. More...
#include <mesh.h>
Public Types | |
typedef SubMeshContainer::const_iterator | ConstSubMeshIterator |
A const iterator type for SubMeshes being stored by this class. | |
typedef std::vector< SubMesh * > | SubMeshContainer |
A convenience type for the storage of SubMeshes in this class. | |
typedef SubMeshContainer::iterator | SubMeshIterator |
An iterator type for SubMeshes being stored by this class. | |
Public Member Functions | |
Mesh (Ogre::MeshPtr InternalMesh) | |
Internal Constructor. More... | |
~Mesh () | |
Class Destructor. | |
Ogre::MeshPtr | _GetInternalMesh () const |
Gets the internal Mesh pointer. More... | |
ConstString & | GetGroup () const |
Gets the resource group this Mesh belongs to. More... | |
Whole | GetIndexCount () const |
Gets the number of Indices in this Mesh. More... | |
ConstString & | GetName () const |
Gets the Name of this Mesh. More... | |
Whole | GetNumSubMeshes () const |
Gets the number of SubMeshes in this Mesh. More... | |
SubMesh * | GetSubMesh (const Whole Index) const |
Gets a SubMesh by index. More... | |
Whole | GetVertexCount () const |
Gets the number of Vertices in this Mesh. More... | |
Protected Member Functions | |
void | DestroyAllWrappedSubMeshes () |
Destroys every wrapped (but not the underlying instance) SubMesh in this Mesh. More... | |
void | WrapAllSubMeshes () |
Constructs a Mezzanine wrapper for every SubMesh in the internal Mesh. More... | |
Protected Attributes | |
InternalMeshData * | IMD |
A pointer to the internal data this Mesh is based on. More... | |
Skeleton * | MeshSkel |
If Skeletal animations are enabled on this Mesh, this is a pointer to the Skeleton being used. More... | |
SubMeshContainer | SubMeshes |
A container storing all the SubMeshes in this Mesh. More... | |
This class is used to check and modify the properties of a graphics mesh.
Mezzanine::Graphics::Mesh::Mesh | ( | Ogre::MeshPtr | InternalMesh | ) |
Ogre::MeshPtr Mezzanine::Graphics::Mesh::_GetInternalMesh | ( | ) | const |
|
protected |
ConstString & Mezzanine::Graphics::Mesh::GetGroup | ( | ) | const |
Whole Mezzanine::Graphics::Mesh::GetIndexCount | ( | ) | const |
ConstString & Mezzanine::Graphics::Mesh::GetName | ( | ) | const |
Whole Mezzanine::Graphics::Mesh::GetNumSubMeshes | ( | ) | const |
Whole Mezzanine::Graphics::Mesh::GetVertexCount | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |