ULimenScreenPercentageSetting
Overview
ULimenScreenPercentageSetting is a subclass of ULimenValueSetting designed to handle the screen percentage setting in the Limen framework. It provides functionality to apply the current setting and set default values for this specific setting.
Properties
Type | Name | Access | Description |
|---|---|---|---|
TConsoleSetting | Setting | Private | Manages the console variable associated with screen percentage. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | ApplyCurrentSetting(bool bUserRequest) | Applies the current setting to the game by resetting and adding a new CVar for |
void | SetDefaults() | Sets default values for the screen percentage setting, including value range and default setting value. |
Usage & Implementation Notes
This class overrides methods from
ULimenValueSettingto handle specific logic related to the screen percentage setting.The
ApplyCurrentSettingfunction ensures that any previous CVar settings are reset before applying the new screen percentage.The
SetDefaultsmethod initializes the value range and default setting value for the screen percentage.