C# Class MoodSwingCoreComponents.MSResolution

Afficher le fichier Open project: verngutz/MoodSwing

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ApplyResolutionSettings ( ) : void
RecreateScaleMatrix ( ) : void

Method Details

BeginDraw() public static méthode

Sets the device to use the draw pump Sets correct aspect ratio
public static BeginDraw ( ) : void
Résultat void

FullViewport() public static méthode

public static FullViewport ( ) : void
Résultat void

GetTransformationMatrix() public static méthode

public static GetTransformationMatrix ( ) : Matrix
Résultat Matrix

GetVirtualAspectRatio() public static méthode

Get virtual Mode Aspect Ratio
public static GetVirtualAspectRatio ( ) : float
Résultat float

Init() public static méthode

public static Init ( GraphicsDeviceManager &device ) : void
device GraphicsDeviceManager
Résultat void

ResetViewport() public static méthode

public static ResetViewport ( ) : void
Résultat void

SetResolution() public static méthode

public static SetResolution ( int new_width, int new_height ) : void
new_width int
new_height int
Résultat void

SetResolution() public static méthode

public static SetResolution ( int new_width, int new_height, bool fullScreen ) : void
new_width int
new_height int
fullScreen bool
Résultat void

SetVirtualResolution() public static méthode

public static SetVirtualResolution ( int Width, int Height ) : void
Width int
Height int
Résultat void