Exemplo n.º 1
0
 public virtual void SetResolution(int width, int height, FullScreenMode fullscreenMode, int preferredRefreshRate)
 {
     EditorScreen.SetResolution(width, height, fullscreenMode, preferredRefreshRate);
 }
Exemplo n.º 2
0
 public virtual void GetDisplayLayout(List <DisplayInfo> displayLayout) => EditorScreen.GetDisplayLayout(displayLayout);
Exemplo n.º 3
0
 public static void SetResolution(int width, int height, bool fullscreen, [DefaultValue("0")] int preferredRefreshRate)
 {
     EditorScreen.SetResolution(width, height, fullscreen ? FullScreenMode.FullScreenWindow : FullScreenMode.Windowed, preferredRefreshRate);
 }
Exemplo n.º 4
0
 public static void SetResolution(int width, int height, bool fullscreen)
 {
     EditorScreen.SetResolution(width, height, fullscreen, 0);
 }
Exemplo n.º 5
0
 public static void SetResolution(int width, int height, FullScreenMode fullscreenMode)
 {
     EditorScreen.SetResolution(width, height, fullscreenMode, 0);
 }