Свойство | Тип | Описание | |
---|---|---|---|
CameraViewMatrix | Matrix4 | ||
Location | Vector3 | ||
ProjectionMatrix | Matrix4 | ||
Yaw | double |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ClampRotation ( ) : void | ||
GetElapsedTime ( ) : float |
public Camera ( int viewportWidth, int viewportHeight, Matrix4 cameraViewMatrix, string name = "Default" ) : System | ||
viewportWidth | int | |
viewportHeight | int | |
cameraViewMatrix | Matrix4 | |
name | string | |
Результат | 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 | |
Результат | System |
public HandleInput ( MouseState mouseState, KeyboardState keyboardState ) : void | ||
mouseState | MouseState | |
keyboardState | KeyboardState | |
Результат | void |
public SetViewportSize ( int viewportWidth, int viewportHeight ) : void | ||
viewportWidth | int | |
viewportHeight | int | |
Результат | void |