This class represents a emitter 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 |
This class represents a emitter within a Ovgl::Scene.
Emitters act as a reference points that provides the location and oriantation of the source of an emission for other classes such as Ovgl::AudioInstance and Ovgl::ParticleInstance.
Matrix44 Ovgl::Emitter::getPose | ( | ) |
Returns the current post of this emitter.
void Ovgl::Emitter::Release | ( | ) |
This function will release control of all memory associated with the emitter and it will also remove any reference to it from the scene.
void Ovgl::Emitter::setPose | ( | Matrix44 * | matrix ) |
Sets the pose of this emitter.
matrix | The matrix which defines the new pose for this emitter. |
This is a pointer to the physics scene object that represents the emitter with in the scene.
This is a pointer to the scene that this emitter was created by and resides in.