#include <Camera.h>
Public Member Functions | |
Camera () | |
virtual | ~Camera () |
void | initialize () |
void | setUpVector (const math::Vector3f &upVector) |
void | setPerspective (float32 fovValue, float32 nearValue, float32 farValue) |
void | setEnable (bool value) |
bool | isEnabled () |
void | update () |
const char * | toString () |
scene::Camera::Camera | ( | ) |
Constructor
virtual scene::Camera::~Camera | ( | ) | [inline, virtual] |
Destructor
void scene::Camera::initialize | ( | ) |
Initialize the camera properties
void scene::Camera::setUpVector | ( | const math::Vector3f & | upVector | ) |
Set the up vector
upVector | The up vector value |
void scene::Camera::setPerspective | ( | float32 | fovValue, | |
float32 | nearValue, | |||
float32 | farValue | |||
) |
Set the camera perspective
fovValue | The fov value | |
nearValue | The near value | |
farValue | The far value |
void scene::Camera::setEnable | ( | bool | value | ) |
Enable the camera
value | Set to enable the camera |
bool scene::Camera::isEnabled | ( | ) |
Verify if the camera is enabled
void scene::Camera::update | ( | ) |
Update the camera data
const char* scene::Camera::toString | ( | ) | [inline, virtual] |