C# 클래스 Indiefreaks.Xna.Rendering.Camera.CameraManager

The CameraManagerService is responsible of the Cameras used in the game
상속: ICameraManager
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
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