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

Inheritance: Camera3D
Exibir arquivo Open project: Indiefreaks/igf

Public Methods

Method Description
ArcBallCamera ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance, float minRadius, float maxRadius ) : Indiefreaks.Xna.Input

Creates a new instance of the camera

Protected Methods

Method Description
UpdateInput ( InputManager input ) : void

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

UpdateViewMatrix ( GameTime gameTime ) : Matrix

Method Details

ArcBallCamera() public method

Creates a new instance of the camera
public ArcBallCamera ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance, float minRadius, float maxRadius ) : Indiefreaks.Xna.Input
aspectRatio float
fieldOfView float
nearPlaneDistance float
farPlaneDistance float
minRadius float
maxRadius float
return Indiefreaks.Xna.Input

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

protected UpdateViewMatrix ( GameTime gameTime ) : Matrix
gameTime Microsoft.Xna.Framework.GameTime
return Microsoft.Xna.Framework.Matrix