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

Inheritance: ICamera
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode Description
BeginFrameRendering ( GameTime gameTime, FrameBuffers frameBuffers ) : void

Initializes the Camera and SunBurn SceneState to be used for rendering

EndFrameRendering ( ) : void

Finalizes Camera and SunBurn SceneState for this frame

Méthodes protégées

Méthode Description
Camera2D ( float aspectRatio ) : Indiefreaks.Xna.Core

Creates a new Camera instance

ICamera ( GameTime gameTime ) : void
UpdateInput ( InputManager input ) : void

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

Method Details

BeginFrameRendering() public méthode

Initializes the Camera and SunBurn SceneState to be used for rendering
public BeginFrameRendering ( GameTime gameTime, FrameBuffers frameBuffers ) : void
gameTime Microsoft.Xna.Framework.GameTime
frameBuffers FrameBuffers
Résultat void

Camera2D() protected méthode

Creates a new Camera instance
protected Camera2D ( float aspectRatio ) : Indiefreaks.Xna.Core
aspectRatio float The viewport aspect ratio
Résultat Indiefreaks.Xna.Core

EndFrameRendering() public méthode

Finalizes Camera and SunBurn SceneState for this frame
public EndFrameRendering ( ) : void
Résultat void

ICamera() protected méthode

protected ICamera ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

UpdateInput() protected abstract méthode

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