PlatformAPI reference
Class DesktopOptions
Namespace: MicroEngine.Raylib
Assembly: MicroEngine.Raylib.dll
Guide: Backends and platforms
Window options of a raylib platform created directly (browser hosts); hosts with a PlatformRequest use
#ctor. Every option is set by name
(new DesktopOptions { Hidden = true, Mute = true }): there is no positional constructor, so a call written for
the earlier positional shape (whose third argument was a fixed-step flag) fails to compile instead of meaning
something else.
public sealed record DesktopOptions : IEquatable<DesktopOptions>Inheritance
Implements
Constructors
DesktopOptions()
public DesktopOptions()Properties
CaptureScale
Size factor of screenshots (3 by default).
public int CaptureScale { get; init; }Property Value
Hidden
Renders into a hidden window, which never waits for the display (false by default).
public bool Hidden { get; init; }Property Value
Icon
The window’s icon (the game’s Icon); ignored in browsers.
public PixelImage? Icon { get; init; }Property Value
Mute
Opens no audio device (false by default).
public bool Mute { get; init; }Property Value
Scale
Window scale; null (the default) uses Scale.
public int? Scale { get; init; }Property Value
int?
WaitForDisplay
Whether a visible desktop window’s frames may wait for the display (true by default; see WaitForDisplay).
public bool WaitForDisplay { get; init; }Property Value
Methods
<Clone>$()
public DesktopOptions <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
obj object?
Returns
Equals(DesktopOptions?)
public bool Equals(DesktopOptions? other)Parameters
other DesktopOptions?
Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(DesktopOptions?, DesktopOptions?)
public static bool operator ==(DesktopOptions? left, DesktopOptions? right)Parameters
left DesktopOptions?
right DesktopOptions?
Returns
operator !=(DesktopOptions?, DesktopOptions?)
public static bool operator !=(DesktopOptions? left, DesktopOptions? right)Parameters
left DesktopOptions?
right DesktopOptions?