Class EngineSettingDefaults¶
Namespace: Apogee.Host
Assembly: Apogee.Host.dll
What a game's game.xml says about its window, as the defaults of the engine's window settings.
public sealed record EngineSettingDefaults : IEquatable<EngineSettingDefaults>
Inheritance¶
object ← EngineSettingDefaults
Implements¶
IEquatable<EngineSettingDefaults>
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
EngineSettingDefaults(int, int, bool, bool)¶
What a game's game.xml says about its window, as the defaults of the engine's window settings.
public EngineSettingDefaults(int Width = 1280, int Height = 720, bool Fullscreen = false, bool VSync = true)
Parameters¶
Width int
The window's width, in points.
Height int
The window's height, in points.
Fullscreen bool
Whether the window starts fullscreen.
VSync bool
Whether frames wait for the display.
Properties¶
Fullscreen¶
Whether the window starts fullscreen.
public bool Fullscreen { get; init; }
Property Value¶
Height¶
The window's height, in points.
public int Height { get; init; }
Property Value¶
VSync¶
Whether frames wait for the display.
public bool VSync { get; init; }
Property Value¶
Width¶
The window's width, in points.
public int Width { get; init; }