Table of Contents

Class MonoGameHostOptions

Namespace
TileWorld.Engine.Hosting.MonoGame
Assembly
TileWorld.Engine.Hosting.MonoGame.dll

Configures the MonoGame compatibility host window.

public sealed class MonoGameHostOptions
Inheritance
MonoGameHostOptions
Inherited Members

Properties

AllowUserResizing

Gets a value indicating whether the host window can be resized by the user.

public bool AllowUserResizing { get; init; }

Property Value

bool

EnableDefaultEscapeToExit

Gets a value indicating whether the host should interpret Escape and the gamepad back button as an immediate exit request.

public bool EnableDefaultEscapeToExit { get; init; }

Property Value

bool

IsMouseVisible

Gets a value indicating whether the host should show the mouse cursor.

public bool IsMouseVisible { get; init; }

Property Value

bool

PreferredBackBufferHeight

Gets the preferred back-buffer height in pixels.

public int PreferredBackBufferHeight { get; init; }

Property Value

int

PreferredBackBufferWidth

Gets the preferred back-buffer width in pixels.

public int PreferredBackBufferWidth { get; init; }

Property Value

int

WindowTitle

Gets the window title shown by the compatibility host.

public string WindowTitle { get; init; }

Property Value

string