UserGameSettingsクラス
ひとことで言うと
UserGameSettingsは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):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.
クラスの関係
プロパティ(12)
| 名前と書き方 | 説明 |
|---|---|
ComputerCameraMovementModeUserGameSettings.ComputerCameraMovementMode: ComputerCameraMovementMode | The camera movement mode currently in-use by the client on desktop. |
ComputerMovementModeUserGameSettings.ComputerMovementMode: ComputerMovementMode | The type of controls being used by the client on desktop. |
GamepadCameraSensitivityUserGameSettings.GamepadCameraSensitivity: float | Describes how sensitive the camera is when using a gamepad. |
MouseSensitivityUserGameSettings.MouseSensitivity: float | A float between 0 and 4 representing the sensitivity of the client's camera sensitivity. |
RCCProfilerRecordFrameRateUserGameSettings.RCCProfilerRecordFrameRate: int | Internal MicroProfiler setting specifying the frame rate used when capturing server-side RCC profiler data. |
RCCProfilerRecordTimeFrameUserGameSettings.RCCProfilerRecordTimeFrame: int | Internal MicroProfiler setting specifying the duration over which server-side RCC profiler data is captured. |
RotationTypeUserGameSettings.RotationType: RotationType | Controls how the client's character is rotated. |
SavedQualityLevelUserGameSettings.SavedQualityLevel: SavedQualitySetting | The graphics quality level set by the client. |
TouchCameraMovementModeUserGameSettings.TouchCameraMovementMode: TouchCameraMovementMode | The camera type in-use by the client while on a mobile device. |
TouchMovementModeUserGameSettings.TouchMovementMode: TouchMovementMode | The type of controls being used by the client on a mobile device. |
VignetteEnabledUserGameSettings.VignetteEnabled: boolean | Indicates whether the VR vignette comfort effect is enabled. |
VRSmoothRotationEnabledUserGameSettings.VRSmoothRotationEnabled: boolean | Indicates whether smooth rotation is used instead of snap rotation in VR. |
メソッド(7)
| 名前と書き方 | 説明 |
|---|---|
GetCameraYInvertValueUserGameSettings:GetCameraYInvertValue(): int | Returns the camera's Y-invert value. |
GetOnboardingCompletedUserGameSettings:GetOnboardingCompleted(onboardingId: string): boolean | Checks if onboarding has been completed. |
InFullScreenUserGameSettings:InFullScreen(): boolean | Returns true if the user's Roblox window is in full screen mode. |
InStudioModeUserGameSettings:InStudioMode(): boolean | Returns true if the client's game session is in Roblox Studio. |
SetCameraYInvertVisibleUserGameSettings:SetCameraYInvertVisible(): () | If called, Roblox toggles the menu option to invert the user's camera y axis. |
SetGamepadCameraSensitivityVisibleUserGameSettings:SetGamepadCameraSensitivityVisible(): () | If called, Roblox toggles the menu option to control the camera sensitivity with gamepads. |
SetOnboardingCompletedUserGameSettings:SetOnboardingCompleted(onboardingId: string): () | Sets onboarding as completed. |
イベント(2)
| 名前と書き方 | 説明 |
|---|---|
FullscreenChangedUserGameSettings.FullscreenChanged(isFullscreen: boolean) | Fires if the user's full screen mode is changed. |
StudioModeChangedUserGameSettings.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. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(UserGameSettings)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。