ULimenFramesPerSecondLimitSetting
Overview
ULimenFramesPerSecondLimitSetting is a subclass of ULimenValueSetting. It manages the FPS limit for the game. The class overrides methods to apply the current setting and set default values.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FText | Category | Public | The category under which this setting is displayed in the settings menu. |
FText | DisplayName | Public | The name of the setting as it appears in the user interface. |
FText | Description | Public | A brief description of what the setting does. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | ApplyCurrentSetting(bool bUserRequest) | Applies the current FPS limit to the game settings. If the value is less than 30, it clamps it to 30. |
void | SetDefaults() | Sets the default values for the setting, including the range of valid values and the default setting value. |
Usage & Implementation Notes
The
ApplyCurrentSettingfunction ensures that the FPS limit does not go below 30.The
SetDefaultsfunction initializes the valid range of values to between 0 and 360, with a default value of 0 (unlimited).