FirstPersonViewComponent

Undocumented in source.

Constructors

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

Members

Functions

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.
onResize
void onResize(int width, int height)
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.

Variables

active
bool active;
Undocumented in source.
axisSensibility
float axisSensibility;
Undocumented in source.
mouseActive
bool mouseActive;
Undocumented in source.
mouseSensibility
float mouseSensibility;
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