ULimenSensitivitySetting
Overview
ULimenSensitivitySetting is a subclass of ULimenValueSetting designed to manage and apply mouse sensitivity settings. It provides functionality to set default values, apply the current setting, and update the mouse sensitivity component accordingly.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FText | DevelopmentName | Public | The internal name of the setting. |
FText | Category | Public | The category under which this setting is grouped in the settings menu. |
FText | DisplayName | Public | The display name of the setting, shown to the user. |
FText | Description | Public | A brief description of what the setting does. |
int32 | DecimalsDisplayed | Public | The number of decimal places to display for the setting value. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | SetDefaults() | Initializes default values for the setting, including the range and default sensitivity. |
void | ApplyCurrentSetting(bool bUserRequest = false) | Applies the current setting to the mouse sensitivity component of the player controller. |
Usage & Implementation Notes
This class is designed to be used within the Limen framework to manage mouse sensitivity settings.
It relies on
ULimenMouseSensitivityComponentto update the actual sensitivity value in the game.The
ApplyCurrentSettingfunction ensures that the setting is applied correctly, even if it's not explicitly requested by a user.