# UserGameSettings(ロブロックス クラス) > UserGameSettings is a singleton class found inside of the UserSettings singleton. It holds various persistent settings relating to how the user wants to control their camera, and their character. - URL:https://roblox.minecraft-okinawa.com/reference/classes/UserGameSettings/ - 公式:https://create.roblox.com/docs/reference/engine/classes/UserGameSettings - 受け継いでいるクラス:Instance ## プロパティ - `UserGameSettings.ComputerCameraMovementMode: ComputerCameraMovementMode`:The camera movement mode currently in-use by the client on desktop. - `UserGameSettings.ComputerMovementMode: ComputerMovementMode`:The type of controls being used by the client on desktop. - `UserGameSettings.GamepadCameraSensitivity: float`:Describes how sensitive the camera is when using a gamepad. - `UserGameSettings.MouseSensitivity: float`:A float between 0 and 4 representing the sensitivity of the client's camera sensitivity. - `UserGameSettings.RCCProfilerRecordFrameRate: int`:Internal MicroProfiler setting specifying the frame rate used when capturing server-side RCC profiler data. - `UserGameSettings.RCCProfilerRecordTimeFrame: int`:Internal MicroProfiler setting specifying the duration over which server-side RCC profiler data is captured. - `UserGameSettings.RotationType: RotationType`:Controls how the client's character is rotated. - `UserGameSettings.SavedQualityLevel: SavedQualitySetting`:The graphics quality level set by the client. - `UserGameSettings.TouchCameraMovementMode: TouchCameraMovementMode`:The camera type in-use by the client while on a mobile device. - `UserGameSettings.TouchMovementMode: TouchMovementMode`:The type of controls being used by the client on a mobile device. - `UserGameSettings.VignetteEnabled: boolean`:Indicates whether the VR vignette comfort effect is enabled. - `UserGameSettings.VRSmoothRotationEnabled: boolean`:Indicates whether smooth rotation is used instead of snap rotation in VR. ## メソッド - `UserGameSettings:GetCameraYInvertValue(): int`:Returns the camera's Y-invert value. - `UserGameSettings:GetOnboardingCompleted(onboardingId: string): boolean`:Checks if onboarding has been completed. - `UserGameSettings:InFullScreen(): boolean`:Returns true if the user's Roblox window is in full screen mode. - `UserGameSettings:InStudioMode(): boolean`:Returns true if the client's game session is in Roblox Studio. - `UserGameSettings:SetCameraYInvertVisible(): ()`:If called, Roblox toggles the menu option to invert the user's camera y axis. - `UserGameSettings:SetGamepadCameraSensitivityVisible(): ()`:If called, Roblox toggles the menu option to control the camera sensitivity with gamepads. - `UserGameSettings:SetOnboardingCompleted(onboardingId: string): ()`:Sets onboarding as completed. ## イベント - `UserGameSettings.FullscreenChanged(isFullscreen: boolean)`:Fires if the user's full screen mode is changed. - `UserGameSettings.StudioModeChanged(isStudioMode: boolean)`:Fired when the user's client switches between Studio mode and in-game mode. This gets fired periodically in Roblox Studio when a session starts. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)