C# Class Indiefreaks.Xna.Rendering.Camera.CameraManager.DefaultCamera

Internal camera used solely to avoid rendering without one. See CameraManager.Clear()
Inheritance: Camera3D
Mostrar archivo Open project: Indiefreaks/igf

Public Methods

Method Description
DefaultCamera ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : System

Creates a new instance of the DefaultCamera

Protected Methods

Method Description
UpdateInput ( InputManager input ) : void

Override this method to catch input events and act on the camera

UpdateViewMatrix ( GameTime gameTime ) : Matrix

Override this method to update the ViewMatrix property

Method Details

DefaultCamera() public method

Creates a new instance of the DefaultCamera
public DefaultCamera ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : System
aspectRatio float
fieldOfView float
nearPlaneDistance float
farPlaneDistance float
return System

UpdateInput() protected method

Override this method to catch input events and act on the camera
protected UpdateInput ( InputManager input ) : void
input InputManager The current input instance
return void

UpdateViewMatrix() protected method

Override this method to update the ViewMatrix property
protected UpdateViewMatrix ( GameTime gameTime ) : Matrix
gameTime Microsoft.Xna.Framework.GameTime
return Matrix