FirstPersonViewComponent

Undocumented in source.

Constructors

this
this(EventManager em, Entity e)
Undocumented in source.

Members

Functions

active
void active(bool mode)
Undocumented in source. Be warned that the author may not have intended to support it.
active
bool active()
Undocumented in source. Be warned that the author may not have intended to support it.
moveBack
void moveBack(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
moveForward
void moveForward(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
onFocusGain
void onFocusGain()
Undocumented in source. Be warned that the author may not have intended to support it.
onFocusLoss
void onFocusLoss()
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
strafeLeft
void strafeLeft(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
strafeRight
void strafeRight(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(Time time)
Undocumented in source. Be warned that the author may not have intended to support it.
useRelativeMouseMode
void useRelativeMouseMode(bool mode)
Undocumented in source. Be warned that the author may not have intended to support it.
useRelativeMouseMode
bool useRelativeMouseMode()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_active
bool _active;
Undocumented in source.
_useRelativeMouseMode
bool _useRelativeMouseMode;
Undocumented in source.
axisSensitivity
float axisSensitivity;
Undocumented in source.
baseOrientation
Quaternionf baseOrientation;
Undocumented in source.
mouseActive
bool mouseActive;
Undocumented in source.
mouseSensitivity
float mouseSensitivity;
Undocumented in source.
pitch
float pitch;
Undocumented in source.
pitchLimitMax
float pitchLimitMax;
Undocumented in source.
pitchLimitMin
float pitchLimitMin;
Undocumented in source.
prevMouseX
int prevMouseX;
Undocumented in source.
prevMouseY
int prevMouseY;
Undocumented in source.
turn
float turn;
Undocumented in source.

Inherited Members

From EntityComponent

entity
Entity entity;
Undocumented in source.
update
void update(Time t)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(GraphicsState* state)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta