![]() |
Aether3D Game Engine
|
Contains a mesh. Can contain submeshes. More...
#include <Mesh.hpp>
Public Types | |
| enum | LoadResult { Success, Corrupted, OutOfMemory, FileNotFound } |
| Result of loading the mesh. | |
Public Member Functions | |
| Mesh () | |
| Constructor. | |
| Mesh (const Mesh &other) | |
| ~Mesh () | |
| Destructor. | |
| Mesh & | operator= (const Mesh &other) |
| const std::string & | GetPath () const |
| LoadResult | Load (const FileSystem::FileContentsData &meshData) |
| const Vec3 & | GetAABBMin () const |
| const Vec3 & | GetAABBMax () const |
| const Vec3 & | GetSubMeshAABBMin (unsigned subMeshIndex) const |
| const Vec3 & | GetSubMeshAABBMax (unsigned subMeshIndex) const |
Friends | |
| class | MeshRendererComponent |
Contains a mesh. Can contain submeshes.
| ae3d::Mesh::Mesh | ( | const Mesh & | other | ) |
| other | Other. |
| const Vec3& ae3d::Mesh::GetAABBMax | ( | ) | const |
| const Vec3& ae3d::Mesh::GetAABBMin | ( | ) | const |
| const std::string& ae3d::Mesh::GetPath | ( | ) | const |
| const Vec3& ae3d::Mesh::GetSubMeshAABBMax | ( | unsigned | subMeshIndex | ) | const |
| subMeshIndex | Submesh index. If invalid, the first submesh AABB max is returned. |
| const Vec3& ae3d::Mesh::GetSubMeshAABBMin | ( | unsigned | subMeshIndex | ) | const |
| subMeshIndex | Submesh index. If invalid, the first submesh AABB min is returned. |
| LoadResult ae3d::Mesh::Load | ( | const FileSystem::FileContentsData & | meshData | ) |
| meshData | Data from .ae3d mesh file. |
1.8.9.1