Nimbus  0.2
A game... with arrows... which should be clouds
 All Classes Functions Variables Enumerations Enumerator
Nimbus::Camera Class Reference
Inheritance diagram for Nimbus::Camera:
Collaboration diagram for Nimbus::Camera:

Classes

class  MousePositionListener
 

Public Member Functions

void initialize (Ogre::SceneManager *sceneMgr)
 
void initialize (Ogre::SceneManager *sceneMgr, Ogre::Vector3 *position, Ogre::Vector3 *facingVector)
 
void update (void)
 
Ogre::Camera * getCamera ()
 
Ogre::Viewport * getViewport ()
 

Static Public Member Functions

static Ogre::Real getScreenThreshold ()
 

Protected Member Functions

void windowClosed (Ogre::RenderWindow *rw)
 
bool windowClosing (Ogre::RenderWindow *rw)
 
void windowFocusChange (Ogre::RenderWindow *rw)
 
void windowMoved (Ogre::RenderWindow *rw)
 
void windowResized (Ogre::RenderWindow *rw)
 

Protected Attributes

Nimbus::Camera::MousePositionListenermMousePositionListener
 

Member Function Documentation

Ogre::Camera* Nimbus::Camera::getCamera ( )
inline

Gets the Ogre::Camera.

static Ogre::Real Nimbus::Camera::getScreenThreshold ( )
inlinestatic

Gets the screen threshold for movement.

Ogre::Viewport* Nimbus::Camera::getViewport ( )
inline

Gets the Ogre::Viewport.

void Nimbus::Camera::initialize ( Ogre::SceneManager *  sceneMgr)

Initializes and add the camera.

Parameters
sceneMgrThe scene manager used to create the camera.
void Nimbus::Camera::initialize ( Ogre::SceneManager *  sceneMgr,
Ogre::Vector3 *  position,
Ogre::Vector3 *  facingVector 
)

Initializes and add the camera.

Parameters
sceneMgrThe scene manager used to create the camera.
positionThe initial position of the camera.
facingVectorThe initial facing vector of the camera.
void Nimbus::Camera::update ( void  )

Updates the position and rotation of the camera.


The documentation for this class was generated from the following files: