Skip to content

Settings.Rendering Class

Rendering options generally set by a game host.

C#
public static class Settings.Rendering

Inheritance object

The width of the area to render on the game window.

C#
public static int RenderWidth { get; set; }

The height of the area to render on the game window.

C#
public static int RenderHeight { get; set; }

Where on the screen the engine will be rendered.

C#
public static Rectangle RenderRect { get; set; }

If the RenderRect is stretched, this is the ratio difference between unstretched.

C#
public static (float X, float Y) RenderScale { get; set; }