CameraShake::CameraData Class Reference

Camera data for the effect. More...

#include <CameraShake.h>

List of all members.

Public Member Functions

 CameraData (osg::Camera *pCamera)

Public Attributes

osg::observer_ptr< osg::Camera > pCamera
 Affected camera.
osg::Vec3f curOffset
 Current offset applied to the camera. Allows to restore a clean view matrix, even with moving cameras.


Detailed Description

Camera data for the effect.

Definition at line 107 of file CameraShake.h.


Constructor & Destructor Documentation

CameraShake::CameraData::CameraData ( osg::Camera *  pCamera  )  [inline]

Definition at line 109 of file CameraShake.h.


Member Data Documentation

Current offset applied to the camera. Allows to restore a clean view matrix, even with moving cameras.

Definition at line 111 of file CameraShake.h.

Referenced by CameraShake::setCamera().

osg::observer_ptr<osg::Camera> CameraShake::CameraData::pCamera

Affected camera.

Definition at line 110 of file CameraShake.h.

Referenced by CameraShake::setCamera(), CameraShake::updateCameras(), and CameraShake::~CameraShake().


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

Generated on Sun Jan 17 11:39:26 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9