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

상속: ICamera
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

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

보호된 메소드들

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

메소드 상세

BeginFrameRendering() 공개 메소드

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
리턴 void

Camera2D() 보호된 메소드

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

EndFrameRendering() 공개 메소드

Finalizes Camera and SunBurn SceneState for this frame
public EndFrameRendering ( ) : void
리턴 void

ICamera() 보호된 메소드

protected ICamera ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

UpdateInput() 보호된 추상적인 메소드

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