-
Notifications
You must be signed in to change notification settings - Fork 0
Screen
BelicusBr edited this page Jan 1, 2024
·
1 revision
With the Screen
class you can change the display mode resolution and add new resolutions.
Properties | Description |
---|---|
static ScreenMode Mode | The Mode property returns or modifies the screen display mode.(Valores:ScreenMode.Resizable ScreenMode.Borderless ScreenMode.Fullscreen ) |
static Vector2 CurrentResolution | Returns the current screen resolution. |
static Vector2[]Screen.Resolutions | Returns a list of saved resolutions. |
Methods | Description |
---|---|
static void AddResolution(int, int) | Adds a new resolution to the list. |
static void SetResolution(Vector2, ScreenMode) | Sets the resolution and display mode. |
static void SetResolution(Vector2) | Sets the screen resolution. |
static void SetResolution(int, int, ScreenMode) | Sets the resolution and display mode. |
static void SetResolution(int, int) | Sets the screen resolution. |