Class GraphicsSettings
Inheritance
GraphicsSettings
Assembly: SociallyDistant.Framework.dll
Syntax
[SettingsCategory("graphics", "Graphics", "Hardware", false, 1)]
public class GraphicsSettings : SettingsCategory
Constructors
GraphicsSettings(ISettingsManager)
Declaration
public GraphicsSettings(ISettingsManager settingsManager)
Parameters
Properties
BloomEffect
Declaration
public bool BloomEffect { get; set; }
Property Value
BlurEffect
Declaration
public bool BlurEffect { get; set; }
Property Value
ChromaticAberration
Declaration
public bool ChromaticAberration { get; set; }
Property Value
DisplayResolution
Declaration
public string? DisplayResolution { get; set; }
Property Value
EnableXorgGlitches
Declaration
public bool EnableXorgGlitches { get; set; }
Property Value
Fullscreen
Declaration
public bool Fullscreen { get; set; }
Property Value
UseWaylandBackend
Gets or sets a value indicating whether the game should initialize in Wayland mode.
This setting requires a game restart to take effect.
Declaration
public bool UseWaylandBackend { get; set; }
Property Value
VSync
Declaration
public bool VSync { get; set; }
Property Value
Methods
BuildSettingsUi(ISettingsUiBuilder)
Declaration
public override void BuildSettingsUi(ISettingsUiBuilder uiBuilder)
Parameters
Overrides