FirstPersonView

Undocumented in source.

Constructors

this
this(EventManager emngr, Entity camEntity, Owner owner)
Undocumented in source.

Members

Functions

active
void active(bool v)
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.
cameraPosition
Vector3f cameraPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
invViewMatrix
Matrix4x4f invViewMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
viewMatrix
Matrix4x4f viewMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_active
bool _active;
Undocumented in source.
camera
FirstPersonCamera camera;
Undocumented in source.
mouseSensibility
float mouseSensibility;
Undocumented in source.
oldMouseX
int oldMouseX;
Undocumented in source.
oldMouseY
int oldMouseY;
Undocumented in source.

Inherited Members

From EventListener

eventManager
EventManager eventManager;
Undocumented in source.
enabled
bool enabled;
Undocumented in source.
generateUserEvent
void generateUserEvent(int code)
Undocumented in source. Be warned that the author may not have intended to support it.
processEvents
void processEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
processEvent
void processEvent(Event* e)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyDown
void onKeyDown(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyUp
void onKeyUp(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
onTextInput
void onTextInput(dchar code)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButtonDown
void onMouseButtonDown(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButtonUp
void onMouseButtonUp(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseWheel
void onMouseWheel(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickButtonDown
void onJoystickButtonDown(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickButtonUp
void onJoystickButtonUp(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickAxisMotion
void onJoystickAxisMotion(int axis, float value)
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.
onFocusLoss
void onFocusLoss()
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.
onQuit
void onQuit()
Undocumented in source. Be warned that the author may not have intended to support it.
onAssetReload
void onAssetReload(Asset asset)
Undocumented in source. Be warned that the author may not have intended to support it.
onUserEvent
void onUserEvent(int code)
Undocumented in source. Be warned that the author may not have intended to support it.

From View

update
void update(double dt)
Undocumented in source.
viewMatrix
Matrix4x4f viewMatrix()
Undocumented in source.
invViewMatrix
Matrix4x4f invViewMatrix()
Undocumented in source.
cameraPosition
Vector3f cameraPosition()
Undocumented in source.
prepareRC
void prepareRC(RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta