omegalib
13.1
|
#include <GamepadCameraController.h>
Public Member Functions | |
GamepadCameraController () | |
void | update (const UpdateContext &context) |
void | handleEvent (const Event &evt) |
Public Member Functions inherited from omega::CameraController | |
CameraController (const String &name="CameraController") | |
bool | isEnabled () |
virtual void | setup (Setting &s) |
virtual bool | handleCommand (const String &cmd) |
virtual void | reset () |
void | setCamera (Camera *value) |
Camera * | getCamera () |
float | getSpeed () |
void | setSpeed (float value) |
void | setFreeFlyEnabled (bool value) |
bool | isFreeFlyEnabled () |
Vector3f | computeSpeedVector (uint moveFlags, float speed, float strafeMultiplier=1.0f) |
Utility method: updates the camera position using speed, yaw pich roll, and a time step. More... | |
Public Member Functions inherited from omega::EngineModule | |
EngineModule (const String &name) | |
EngineModule () | |
virtual | ~EngineModule () |
void | requestOpenGLProfile (OpenGLProfile profile) |
This method can be used within an engine module ctor or initialization to test for module compatibility. More... | |
void | enableSharedData () |
void | disableSharedData () |
virtual void | initialize () |
virtual void | dispose () |
virtual void | commitSharedData (SharedOStream &out) |
virtual void | updateSharedData (SharedIStream &in) |
virtual void | initializeRenderer (Renderer *) |
void | doInitialize (Engine *server) |
void | doDispose () |
virtual bool | isInitialized () |
Engine * | getEngine () |
Priority | getPriority () |
void | setPriority (Priority value) |
const String & | getName () |
Public Member Functions inherited from omicron::ReferenceType | |
ReferenceType () | |
virtual | ~ReferenceType () |
void | ref () |
void | unref () |
long | refCount () |
Additional Inherited Members | |
Public Types inherited from omega::CameraController | |
enum | MoveFlags { MoveLeft = Event::ButtonLeft, MoveRight = Event::ButtonRight, MoveUp = Event::Button5, MoveDown = Event::Button6, MoveForward = Event::ButtonUp, MoveBackward = Event::ButtonDown } |
Public Types inherited from omega::EngineModule | |
enum | Priority { PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3, PriorityHighest = 4 } |
enum | OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile } |
Static Public Member Functions inherited from omicron::ReferenceType | |
static void | printObjCounts () |
Protected Attributes inherited from omega::CameraController | |
float | mySpeed |
bool | myFreeFlyEnabled |
Static Protected Attributes inherited from omicron::ReferenceType | |
static List< ReferenceType * > | mysObjList |
omega::GamepadCameraController::GamepadCameraController | ( | ) |
|
virtual |
Reimplemented from omega::CameraController.
|
virtual |
Reimplemented from omega::CameraController.