#include <CameraShake.h>
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. |
Definition at line 107 of file CameraShake.h.
CameraShake::CameraData::CameraData | ( | osg::Camera * | pCamera | ) | [inline] |
Definition at line 109 of file CameraShake.h.
osg::Vec3f CameraShake::CameraData::curOffset |
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().