ULimenWindowModeSetting
Overview
ULimenWindowModeSetting is a subclass of ULimenSelectionSetting designed to handle the configuration and application of window mode settings. It provides a user-friendly interface for selecting and applying different window modes such as Fullscreen, Windowed Fullscreen, and Windowed.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FString | DevelopmentName | Public | The internal name used to identify this setting. |
FText | Category | Public | The category under which this setting is grouped in the user interface. |
FText | DisplayName | Public | The display name of the setting, shown to users. |
FText | Description | Public | A brief description of what the setting does. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | ApplyCurrentSetting(bool bUserRequest) | Applies the currently selected window mode setting. If |
void | SetDefaults() | Initializes the possible selection values and sets the default selection based on predefined constants. |
Usage & Implementation Notes
This class overrides the
ApplyCurrentSettingmethod to update the game's window mode usingSetFullscreenModefromGameUserSettings.The
SetDefaultsfunction populates thePossibleSelectionsarray with string representations of different window modes and sets the default selection.The
FormatWindowModeandUnFormatWindowModefunctions handle the conversion between the enum values and their corresponding string representations.