C# 클래스 Gonzo.Resolution

파일 보기 프로젝트 열기: Afr0Games/Project-Dollhouse

공개 메소드들

메소드 설명
BeginDraw ( ) : void

Sets the device to use the draw pump Sets correct aspect ratio

FullViewport ( ) : void
Init ( GraphicsDeviceManager &device ) : void
ResetViewport ( ) : void
SetResolution ( int Width, int Height, bool FullScreen ) : void
SetVirtualResolution ( int Width, int Height ) : void
getTransformationMatrix ( ) : Matrix
getVirtualAspectRatio ( ) : float

Get virtual Mode Aspect Ratio

비공개 메소드들

메소드 설명
ApplyResolutionSettings ( ) : void
RecreateScaleMatrix ( ) : void

메소드 상세

BeginDraw() 공개 정적인 메소드

Sets the device to use the draw pump Sets correct aspect ratio
public static BeginDraw ( ) : void
리턴 void

FullViewport() 공개 정적인 메소드

public static FullViewport ( ) : void
리턴 void

Init() 공개 정적인 메소드

public static Init ( GraphicsDeviceManager &device ) : void
device GraphicsDeviceManager
리턴 void

ResetViewport() 공개 정적인 메소드

public static ResetViewport ( ) : void
리턴 void

SetResolution() 공개 정적인 메소드

public static SetResolution ( int Width, int Height, bool FullScreen ) : void
Width int
Height int
FullScreen bool
리턴 void

SetVirtualResolution() 공개 정적인 메소드

public static SetVirtualResolution ( int Width, int Height ) : void
Width int
Height int
리턴 void

getTransformationMatrix() 공개 정적인 메소드

public static getTransformationMatrix ( ) : Matrix
리턴 Matrix

getVirtualAspectRatio() 공개 정적인 메소드

Get virtual Mode Aspect Ratio
public static getVirtualAspectRatio ( ) : float
리턴 float