C# Класс Gonzo.Resolution

Показать файл Открыть проект

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

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