Method | Description | |
---|---|---|
FreeCamera3D ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : Indiefreaks.Xna.Input |
Creates a new Free Camera
|
Method | Description | |
---|---|---|
UpdateInput ( InputManager input ) : void |
Override this method to catch input events and act on the camera
|
|
UpdateViewMatrix ( |
Override this method to update the ViewMatrix property
|
Method | Description | |
---|---|---|
MoveCamera ( Microsoft.Xna.Framework.Vector3 addedVector ) : void |
Moves the camera
|
public FreeCamera3D ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : Indiefreaks.Xna.Input | ||
aspectRatio | float | The aspect ratio is generally defined by the Viewport's Aspect ratio found in the GraphicsDevice instance of the game |
fieldOfView | float | |
nearPlaneDistance | float | |
farPlaneDistance | float | |
return | Indiefreaks.Xna.Input |
protected UpdateInput ( InputManager input ) : void | ||
input | InputManager | The current input instance |
return | void |
protected UpdateViewMatrix ( |
||
gameTime | ||
return |