Public Member Functions | Public Attributes

Ovgl::Camera Class Reference

This class represents a camera within a Ovgl::Scene. More...

#include <OvglScene.h>

List of all members.

Public Member Functions

void setPose (Matrix44 *matrix)
Matrix44 getPose ()
void Release ()

Public Attributes

Scenescene
CMeshcmesh
Matrix44 projMat
std::vector< AudioVoice * > voices

Detailed Description

This class represents a camera within a Ovgl::Scene.

By setting it as the viewport of a Ovgl::RenderTarget you can render what this camera sees to the render target.


Member Function Documentation

Matrix44 Ovgl::Camera::getPose (  )

Returns the current pose of the camera.

void Ovgl::Camera::Release (  )

This function will release control of all memory associated with the camera and it will also remove any reference to it from the scene.

void Ovgl::Camera::setPose ( Matrix44 matrix )

Sets the pose of this camera.

Parameters:
matrixThe matrix which defines the new pose for this camera.

Member Data Documentation

This is a pointer to the physics scene object that represents the camera within the scene.

This matrix defines the perspective of the camera.

This is a pointer to the scene that this camera was created by and resides in.

This is an array of all audio voices that the camera can hear.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables