C# Класс Indiefreaks.Xna.Rendering.Camera.CameraManager

The CameraManagerService is responsible of the Cameras used in the game
Наследование: ICameraManager
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ApplyPreferences() публичный Метод

Use to apply user quality and performance preferences to the resources managed by this object.
public ApplyPreferences ( ISystemPreferences preferences ) : void
preferences ISystemPreferences
Результат void

CameraManager() публичный Метод

Creates a new CameraManager instance
public CameraManager ( IManagerServiceProvider sceneInterface ) : System
sceneInterface IManagerServiceProvider
Результат System

Clear() публичный Метод

Removes resources managed by this object. Commonly used while clearing the scene.
public Clear ( ) : void
Результат void

Submit() публичный Метод

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
Результат void

Unload() публичный Метод

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
Результат void

Update() публичный Метод

Updates the object and its contained resources.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void