Api Sandbox Preferences
class

Preferences

public static abstract sealed class Preferences

Holds information about the current user's preferences.

Properties

Name Type Description
FieldOfView static Single The user's preference for their field of view
MusicVolume static Single The user's preferred Music volume, as set in the options, clamped between 0 and 1
VoipVolume static Single The user's preferred VOIP volume, as set in the options, clamped between 0 and 1
Sensitivity static Single The mouse sensitivity
ControllerLookYawSpeed static Single
ControllerLookPitchSpeed static Single
InvertMousePitch static Boolean
InvertMouseYaw static Boolean
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.Preferences