ULimenOverallQualitySetting
Overview
ULimenOverallQualitySetting is a subclass of ULimenSelectionSetting designed to handle the overall quality settings in the game. It provides methods to apply the current setting and set default values. The class uses static strings to represent different quality levels and includes utility functions to format and unformat these settings.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FString | Low | Private | Static string representing the "Low" quality level. |
FString | Medium | Private | Static string representing the "Medium" quality level. |
FString | High | Private | Static string representing the "High" quality level. |
FString | Epic | Private | Static string representing the "Epic" quality level. |
FString | Cinematic | Private | Static string representing the "Cinematic" quality level. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | ApplyCurrentSetting(bool bUserRequest) | Applies the current setting to the game's scalability levels. Adjusts various quality parameters such as view distance, anti-aliasing, shadows, and more based on the selected quality level. |
void | SetDefaults() | Sets up the default possible selections and the default selection for the overall quality settings. |
Usage & Implementation Notes
The
ApplyCurrentSettingfunction updates the game's scalability settings based on the current value of the setting.The
SetDefaultsfunction initializes the list of possible selections and sets the default selection to "High".The class uses static strings to represent different quality levels, which are formatted and unformatted using utility functions.