C# Класс MoodSwingCoreComponents.MSResolution

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

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

Метод Описание
BeginDraw ( ) : void

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

FullViewport ( ) : void
GetTransformationMatrix ( ) : Matrix
GetVirtualAspectRatio ( ) : float

Get virtual Mode Aspect Ratio

Init ( GraphicsDeviceManager &device ) : void
ResetViewport ( ) : void
SetResolution ( int new_width, int new_height ) : void
SetResolution ( int new_width, int new_height, bool fullScreen ) : void
SetVirtualResolution ( int Width, int Height ) : void

Приватные методы

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

GetTransformationMatrix() публичный статический Метод

public static GetTransformationMatrix ( ) : Matrix
Результат Matrix

GetVirtualAspectRatio() публичный статический Метод

Get virtual Mode Aspect Ratio
public static GetVirtualAspectRatio ( ) : float
Результат float

Init() публичный статический Метод

public static Init ( GraphicsDeviceManager &device ) : void
device GraphicsDeviceManager
Результат void

ResetViewport() публичный статический Метод

public static ResetViewport ( ) : void
Результат void

SetResolution() публичный статический Метод

public static SetResolution ( int new_width, int new_height ) : void
new_width int
new_height int
Результат void

SetResolution() публичный статический Метод

public static SetResolution ( int new_width, int new_height, bool fullScreen ) : void
new_width int
new_height int
fullScreen bool
Результат void

SetVirtualResolution() публичный статический Метод

public static SetVirtualResolution ( int Width, int Height ) : void
Width int
Height int
Результат void