#include <ModelObject.h>
Inheritance diagram for GpuThesis::ModelObject:
Public Member Functions | |
ModelObject (Geometry::Model *model, const EngineParameters::ModelObjectParams ¶ms) | |
void | render (unsigned int meshNumber) |
void | transform () |
bool | isLit () |
unsigned int | getMeshCount () |
const Material & | getMaterial (unsigned int meshNumber) |
void | setAnchor (const Math::Vector3d &anchor) |
|
Initialize the model object with the given Model and parameters.
|
|
Get the material for the given mesh.
Implements GpuThesis::SceneObject. |
|
Get the number of meshes in the model object.
Implements GpuThesis::SceneObject. |
|
Check if the model object should be lit.
Implements GpuThesis::SceneObject. |
|
Render the given mesh.
Implements GpuThesis::SceneObject. |
|
Set the anchor to use for relative positions.
|
|
Transform the model object. Implements GpuThesis::SceneObject. |