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

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

Méthodes publiques

Méthode Description
DefaultCamera ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : System

Creates a new instance of the DefaultCamera

Méthodes protégées

Méthode 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 méthode

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
Résultat System

UpdateInput() protected méthode

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

UpdateViewMatrix() protected méthode

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