Show / Hide Table of Contents

Class Settings.Rendering

Rendering options generally set by a game host.

Inheritance
object
Settings.Rendering
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole
Assembly: SadConsole.dll
Syntax
public static class Settings.Rendering

Properties

RenderHeight

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

Declaration
public static int RenderHeight { get; set; }
Property Value
Type Description
int

RenderRect

Where on the screen the engine will be rendered.

Declaration
public static Rectangle RenderRect { get; set; }
Property Value
Type Description
Rectangle

RenderScale

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

Declaration
public static (float X, float Y) RenderScale { get; set; }
Property Value
Type Description
(float X, float Y)

RenderWidth

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

Declaration
public static int RenderWidth { get; set; }
Property Value
Type Description
int
In this article

Back to top

Back to top Generated by DocFX