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

The CameraManagerService is responsible of the Cameras used in the game
Inheritance: ICameraManager
Mostrar archivo Open project: Indiefreaks/igf

Public Methods

Method 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 method

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

CameraManager() public method

Creates a new CameraManager instance
public CameraManager ( IManagerServiceProvider sceneInterface ) : System
sceneInterface IManagerServiceProvider
return System

Clear() public method

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

Submit() public method

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
return void

Unload() public method

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
return void

Update() public method

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