A class for a Camera object.
More...
#include <Camera.h>
A class for a Camera object.
- Author
- Jamie Slowgrove
Camera::Camera |
( |
std::shared_ptr< Ogre::SceneNode > |
sceneNode, |
|
|
std::shared_ptr< Ogre::MovableObject > |
camera, |
|
|
Ogre::Vector3 |
rotationOffset, |
|
|
Ogre::Vector3 |
positonOffset |
|
) |
| |
Constructs the Camera object.
- Parameters
-
std::shared_ptr<Ogre::SceneNode> | A pointer to the camera scene node. |
std::shared_ptr<Ogre::MovableObject> | A pointer to the camera moveable object. |
Ogre::Vector3 | The rotation offset of the Camera. |
Ogre::Vector3 | The positon offset of the Camera. |
void Camera::update |
( |
float |
dt | ) |
|
Updates the Camera.
- Parameters
-
std::shared_ptr<Ogre::MovableObject> Camera::camera |
|
private |
A pointer to the camera movable object.
Ogre::Vector3 Camera::positonOffset |
|
private |
The Camera objects position offset.
Ogre::Vector3 Camera::rotationOffset |
|
private |
The Camera objects rotation offset.
std::shared_ptr<Ogre::SceneNode> Camera::sceneNode |
|
private |
A pointer to the camera scene node.
The documentation for this class was generated from the following files: