Example #1
0
 public void Reset()
 {
     MouseSensitivity    = DefaultMouseSensitivity;
     KeyboardSensitivity = DefaultKeyboardSensitivity;
     Speed            = DefaultSpeed;
     ViewMatrix       = new ViewMatrix();
     ProjectionMatrix = new ProjectionMatrix(ProjectionMatrix.AspectRatio, ProjectionMatrix.FarPlane, ProjectionMatrix.FieldOfView);
     RaiseCameraChangedEvent();
 }
Example #2
0
 public Vector3 GetForward()
 {
     return(ViewMatrix.GetCameraVectors()._forwardVector);
 }
Example #3
0
 public Vector3 GetLeft()
 {
     return(ViewMatrix.GetCameraVectors()._leftVector);
 }
Example #4
0
 public Vector3 GetUp()
 {
     return(ViewMatrix.GetCameraVectors()._upVector);
 }