|
Carna
Version 3.0.1
|
Implements base::CameraControl, rotates the camera around itself and allows completely free camera movement. More...
#include <CameraNavigationControl.h>
Inheritance diagram for Carna::presets::CameraNavigationControl:
Collaboration diagram for Carna::presets::CameraNavigationControl:Public Member Functions | |
| CameraNavigationControl () | |
| Instantiates. | |
| virtual | ~CameraNavigationControl () |
| Deletes. | |
| virtual void | setCamera (base::Spatial &) override |
| Sets the camera that this object should control. | |
| virtual void | rotateHorizontally (float radians) override |
| Rotates the camera around its local \(\left(0, 1, 0\right)^\mathrm T\) vector by radians. | |
| virtual void | rotateVertically (float radians) override |
| Rotates the camera around its local \(\left(1, 0, 0\right)^\mathrm T\) vector by radians. | |
| virtual void | moveAxially (float units) override |
| Moves the camera along its local \(\left(0, 0, 1\right)^\mathrm T\) vector by units. | |
| virtual void | moveLaterally (float unitsX, float unitsY) override |
| Moves the camera along its x-/y-axis. The parameters of this movement depend on the implementation. | |
Public Member Functions inherited from Carna::base::CameraControl | |
| virtual | ~CameraControl () |
| Does nothing. | |
Implements base::CameraControl, rotates the camera around itself and allows completely free camera movement.
Definition at line 42 of file CameraNavigationControl.h.
Documentation generated by Doxygen