C# Class Indiefreaks.Xna.Rendering.Camera.TargetCamera3D

A simple static camera that can be placed anywhere in the world using its StaticPosition and Target position
Inheritance: Camera3D
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode Description
TargetCamera3D ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : Indiefreaks.Xna.Input

Creates a new instance of the camera

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

TargetCamera3D() public méthode

Creates a new instance of the camera
public TargetCamera3D ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : Indiefreaks.Xna.Input
aspectRatio float
fieldOfView float
nearPlaneDistance float
farPlaneDistance float
Résultat Indiefreaks.Xna.Input

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 Microsoft.Xna.Framework.Matrix