camera class with yaw and pitch rotation and zoom support More...
Public Member Functions | |
InteractiveCamera (Game _game) | |
Initializes new camera component. | |
override void | Update (GameTime gameTime) |
Updates camera with input and updates view matrix. | |
Protected Member Functions | |
override void | updateView () |
Properties | |
float | MaxRotation [set] |
Vector3 | CameraRotation [get, set] |
Vector3 | CameraRotationVelocity [get, set] |
camera class with yaw and pitch rotation and zoom support
Definition at line 16 of file InteractiveCamera.cs.
visLU.InteractiveCamera.InteractiveCamera | ( | Game | _game ) |
Initializes new camera component.
game | Game to which attach this camera. |
Definition at line 65 of file InteractiveCamera.cs.
override void visLU.InteractiveCamera.Update | ( | GameTime | gameTime ) |
Updates camera with input and updates view matrix.
gameTime |
Reimplemented from visLU.Camera.
Definition at line 96 of file InteractiveCamera.cs.
override void visLU.InteractiveCamera.updateView | ( | ) | [protected, virtual] |
Reimplemented from visLU.Camera.
Definition at line 152 of file InteractiveCamera.cs.
Vector3 visLU.InteractiveCamera.CameraRotation [get, set] |
Definition at line 48 of file InteractiveCamera.cs.
Vector3 visLU.InteractiveCamera.CameraRotationVelocity [get, set] |
Definition at line 54 of file InteractiveCamera.cs.
float visLU.InteractiveCamera.MaxRotation [set] |
Definition at line 44 of file InteractiveCamera.cs.