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

The CameraManagerService is responsible of the Cameras used in the game
Inheritance: ICameraManager
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode Description
ApplyPreferences ( ISystemPreferences preferences ) : void

Use to apply user quality and performance preferences to the resources managed by this object.

CameraManager ( IManagerServiceProvider sceneInterface ) : System

Creates a new CameraManager instance

Clear ( ) : void

Removes resources managed by this object. Commonly used while clearing the scene.

Submit ( ICamera camera ) : void

Registers a camera as the ActiveCamera

The submitted and therefore active camera is getting updated each frame

Unload ( ) : void

Disposes any graphics resource used internally by this object, and removes scene resources managed by this object. Commonly used during Game.UnloadContent.

Update ( GameTime gameTime ) : void

Updates the object and its contained resources.

Method Details

ApplyPreferences() public méthode

Use to apply user quality and performance preferences to the resources managed by this object.
public ApplyPreferences ( ISystemPreferences preferences ) : void
preferences ISystemPreferences
Résultat void

CameraManager() public méthode

Creates a new CameraManager instance
public CameraManager ( IManagerServiceProvider sceneInterface ) : System
sceneInterface IManagerServiceProvider
Résultat System

Clear() public méthode

Removes resources managed by this object. Commonly used while clearing the scene.
public Clear ( ) : void
Résultat void

Submit() public méthode

Registers a camera as the ActiveCamera
The submitted and therefore active camera is getting updated each frame
public Submit ( ICamera camera ) : void
camera ICamera The camera to be registered
Résultat void

Unload() public méthode

Disposes any graphics resource used internally by this object, and removes scene resources managed by this object. Commonly used during Game.UnloadContent.
public Unload ( ) : void
Résultat void

Update() public méthode

Updates the object and its contained resources.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void