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