StevEngine
StevEngine is a customizable C++ game engine.
|
3D model data container More...
#include <utilities/Model.hpp>
Public Member Functions | |
Model (const Resources::Resource &file) | |
Load model from resource. | |
std::vector< Mesh > | GetMeshes () const |
Get all meshes in model. | |
Public Attributes | |
bool | hasMaterials |
Whether model has material data. | |
const std::string | path |
Path to model file. | |
3D model data container
Loads and stores 3D model data using Assimp. Contains multiple meshes with vertices, indices and materials.
StevEngine::Utilities::Model::Model | ( | const Resources::Resource & | file | ) |
Load model from resource.
file | Resource containing model data |
std::vector< Mesh > StevEngine::Utilities::Model::GetMeshes | ( | ) | const |
Get all meshes in model.