s&box docs

public static abstract sealed class Sandbox.Preferences

Holds information about the current user's preferences.

Broader workflow and conceptual references connected to this API.

Properties

Showing 8 properties

public static float Sandbox.Preferences.ControllerLookPitchSpeed { get; set; }

public static float Sandbox.Preferences.ControllerLookYawSpeed { get; set; }

public static float Sandbox.Preferences.FieldOfView { get; set; }

The user's preference for their field of view

public static bool Sandbox.Preferences.InvertMousePitch { get; set; }

public static bool Sandbox.Preferences.InvertMouseYaw { get; set; }

public static float Sandbox.Preferences.MusicVolume { get; set; }

The user's preferred Music volume, as set in the options, clamped between 0 and 1

public static float Sandbox.Preferences.Sensitivity { get; set; }

The mouse sensitivity

public static float Sandbox.Preferences.VoipVolume { get; set; }

The user's preferred VOIP volume, as set in the options, clamped between 0 and 1

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Preferences

On this page