#include <AModel.h>
◆ AModel()
◆ ~AModel()
◆ AddMesh()
| void AModel::AddMesh |
( |
AMesh * | mesh | ) |
|
|
inline |
◆ Draw()
◆ GetMesh()
| AMesh * AModel::GetMesh |
( |
size_t | index | ) |
|
|
inline |
◆ GetMeshes()
| const std::vector< AMesh * > & AModel::GetMeshes |
( |
| ) |
const |
|
inline |
◆ LoadFromFile()
| int AModel::LoadFromFile |
( |
const std::string & | path | ) |
|
Load a 3D model from a file and add it to the model's mesh collection
- Parameters
-
| path | The file path of the model to be loaded |
- Returns
- 1 if loading was successful, 0 if loading failed
The documentation for this class was generated from the following files: