This class represents a light 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 |
| Vector3 | color |
| DWORD | type |
This class represents a light within a Ovgl::Scene.
| Matrix44 Ovgl::Light::getPose | ( | ) |
Returns the current pose of this light.
| void Ovgl::Light::Release | ( | ) |
This function will release control of all memory associated with the light and it will also remove any reference to it from the scene.
| void Ovgl::Light::setPose | ( | Matrix44 * | matrix ) |
Sets the pose of this light.
| matrix | The matrix which defines the new pose for this light. |
This is a pointer to the physics scene object that represents the light with in the scene.
This is the color of the light that will be cast on objects.
This is a pointer to the scene that this light was created by and resides in.
| DWORD Ovgl::Light::type |
Specifies what type of light is emitted.
1.7.2