FreeviewComponent

Undocumented in source.
class FreeviewComponent : EntityComponent {}

Constructors

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

Members

Functions

direction
Vector3f direction()
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
moveSmooth
void moveSmooth(float speed, float smooth)
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.
onMouseWheel
void onMouseWheel(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
pitch
void pitch(float theta)
Undocumented in source. Be warned that the author may not have intended to support it.
pitch
float pitch()
Undocumented in source. Be warned that the author may not have intended to support it.
pitchSmooth
void pitchSmooth(float theta, float smooth)
Undocumented in source. Be warned that the author may not have intended to support it.
position
Vector3f position()
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.
right
Vector3f right()
Undocumented in source. Be warned that the author may not have intended to support it.
roll
void roll(float theta)
Undocumented in source. Be warned that the author may not have intended to support it.
roll
float roll()
Undocumented in source. Be warned that the author may not have intended to support it.
rollSmooth
void rollSmooth(float theta, float smooth)
Undocumented in source. Be warned that the author may not have intended to support it.
screenToWorld
void screenToWorld(int scrx, int scry, int scrw, int scrh, float yfov, float worldx, float worldy, bool snap)
Undocumented in source. Be warned that the author may not have intended to support it.
setRotation
void setRotation(float p, float t, float r)
Undocumented in source. Be warned that the author may not have intended to support it.
setTargetSmooth
void setTargetSmooth(Vector3f pos, float smooth)
Undocumented in source. Be warned that the author may not have intended to support it.
setZoom
void setZoom(float z)
Undocumented in source. Be warned that the author may not have intended to support it.
strafe
void strafe(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
strafeSmooth
void strafeSmooth(float speed, float smooth)
Undocumented in source. Be warned that the author may not have intended to support it.
translateTarget
void translateTarget(Vector3f pos)
Undocumented in source. Be warned that the author may not have intended to support it.
turn
void turn(float theta)
Undocumented in source. Be warned that the author may not have intended to support it.
turn
float turn()
Undocumented in source. Be warned that the author may not have intended to support it.
turnSmooth
void turnSmooth(float theta, float smooth)
Undocumented in source. Be warned that the author may not have intended to support it.
up
Vector3f up()
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.
zoom
void zoom(float z)
Undocumented in source. Be warned that the author may not have intended to support it.
zoomSmooth
void zoomSmooth(float z, float smooth)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

active
bool active;
Undocumented in source.
center
Vector3f center;
Undocumented in source.
currentMove
float currentMove;
Undocumented in source.
currentStrafe
float currentStrafe;
Undocumented in source.
currentTranslate
Vector3f currentTranslate;
Undocumented in source.
currentZoom
float currentZoom;
Undocumented in source.
distance
float distance;
Undocumented in source.
invTransform
Matrix4x4f invTransform;
Undocumented in source.
mouseSensibility
float mouseSensibility;
Undocumented in source.
movingToTarget
bool movingToTarget;
Undocumented in source.
pitchCurrentTheta
float pitchCurrentTheta;
Undocumented in source.
pitchTargetTheta
float pitchTargetTheta;
Undocumented in source.
prevMouseX
int prevMouseX;
Undocumented in source.
prevMouseY
int prevMouseY;
Undocumented in source.
rollCurrentTheta
float rollCurrentTheta;
Undocumented in source.
rollTargetTheta
float rollTargetTheta;
Undocumented in source.
rotPitch
Quaternionf rotPitch;
Undocumented in source.
rotPitchTheta
float rotPitchTheta;
Undocumented in source.
rotRoll
Quaternionf rotRoll;
Undocumented in source.
rotRollTheta
float rotRollTheta;
Undocumented in source.
rotTurn
Quaternionf rotTurn;
Undocumented in source.
rotTurnTheta
float rotTurnTheta;
Undocumented in source.
targetMove
float targetMove;
Undocumented in source.
targetStrafe
float targetStrafe;
Undocumented in source.
targetTranslate
Vector3f targetTranslate;
Undocumented in source.
targetZoom
float targetZoom;
Undocumented in source.
transform
Matrix4x4f transform;
Undocumented in source.
translateSmoothFactor
float translateSmoothFactor;
Undocumented in source.
turnCurrentTheta
float turnCurrentTheta;
Undocumented in source.
turnTargetTheta
float turnTargetTheta;
Undocumented in source.
zoomIn
bool zoomIn;
Undocumented in source.
zoomSmoothFactor
float zoomSmoothFactor;
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