This class represents a object within a Ovgl::Scene. More...
#include <OvglScene.h>
Public Member Functions | |
void | setPose (Matrix44 *matrix) |
Matrix44 | getPose () |
void | Release () |
Public Attributes | |
Scene * | scene |
CMesh * | cmesh |
Mesh * | mesh |
std::vector< Effect * > | subsets |
This class represents a object within a Ovgl::Scene.
Objects are static and cannot react to kinetic forces within the scene.
Matrix44 Ovgl::Object::getPose | ( | ) |
Returns the current pose of this object.
void Ovgl::Object::Release | ( | ) |
This function will release control of all memory associated with the object and it will also remove any reference to it from the scene.
void Ovgl::Object::setPose | ( | Matrix44 * | matrix ) |
Sets the pose of this object.
matrix | The matrix which defines the new pose for this object. |
This is a pointer to the physics object that represents this object within the scene.
The mesh that is displayed for this object.
This is a pointer to the scene that this object resides in.
std::vector<Effect*> Ovgl::Object::subsets |
List of effects that are used for each subset of the mesh.