Property | Type | Description | |
---|---|---|---|
CameraViewMatrix | Matrix4 | ||
Location | Vector3 | ||
ProjectionMatrix | Matrix4 | ||
Yaw | double |
Method | Description | |
---|---|---|
Camera ( int viewportWidth, int viewportHeight, Matrix4 cameraViewMatrix, string name = "Default" ) : System | ||
Camera ( int viewportWidth, int viewportHeight, Vector3 minBounds, Vector3 maxBounds, string name = "Default" ) : System | ||
HandleInput ( MouseState mouseState, KeyboardState keyboardState ) : void | ||
SetViewportSize ( int viewportWidth, int viewportHeight ) : void | ||
Tick ( string &fpsString ) : void | ||
ToString ( ) : string |
Method | Description | |
---|---|---|
ClampRotation ( ) : void | ||
GetElapsedTime ( ) : float |
public Camera ( int viewportWidth, int viewportHeight, Matrix4 cameraViewMatrix, string name = "Default" ) : System | ||
viewportWidth | int | |
viewportHeight | int | |
cameraViewMatrix | Matrix4 | |
name | string | |
return | System |
public Camera ( int viewportWidth, int viewportHeight, Vector3 minBounds, Vector3 maxBounds, string name = "Default" ) : System | ||
viewportWidth | int | |
viewportHeight | int | |
minBounds | Vector3 | |
maxBounds | Vector3 | |
name | string | |
return | System |
public HandleInput ( MouseState mouseState, KeyboardState keyboardState ) : void | ||
mouseState | MouseState | |
keyboardState | KeyboardState | |
return | void |
public SetViewportSize ( int viewportWidth, int viewportHeight ) : void | ||
viewportWidth | int | |
viewportHeight | int | |
return | void |