Class Screen
- Namespace
- Cobilas.GodotEngine.Utility
- Assembly
- com.cobilas.godot.utility.dll
public static class Screen
- Inheritance
-
Screen
- Inherited Members
-
Properties
CurrentResolution
public static Vector2 CurrentResolution { get; }
Property Value
- Vector2
Mode
public static ScreenMode Mode { get; set; }
Property Value
- ScreenMode
Resolutions
public static Vector2[] Resolutions { get; }
Property Value
- Vector2[]
Methods
AddResolution(int, int)
public static void AddResolution(int width, int height)
Parameters
width
int
height
int
SetResolution(Vector2)
public static void SetResolution(Vector2 size)
Parameters
size
Vector2
SetResolution(Vector2, ScreenMode)
public static void SetResolution(Vector2 size, ScreenMode mode)
Parameters
size
Vector2
mode
ScreenMode
SetResolution(int, int)
public static void SetResolution(int width, int height)
Parameters
width
int
height
int
SetResolution(int, int, ScreenMode)
public static void SetResolution(int width, int height, ScreenMode mode)
Parameters
width
int
height
int
mode
ScreenMode