Preferencesclass

Holds information about the current user's preferences.

objectPreferences
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public static abstract sealed class Sandbox.Preferences

Properties10

Showing 10 properties

public static bool Sandbox.Preferences.ChatEnabled { get; set; }PUBLICSTATICGETSET

Returns:bool

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

Returns:float

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

Returns:float

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

The user's preference for their field of view

Returns:float

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

Returns:bool

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

Returns:bool

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

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

Returns:float

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

The mouse sensitivity

Returns:float

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

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

Returns:float

On this page