ULimenVolumeLevelSetting
Overview
ULimenVolumeLevelSetting is a subclass of ULimenValueSetting designed to control the volume level of an FMOD bus and associated sound classes. It provides functionality to apply the current setting, set default values, and manage the underlying FMOD resources.
Properties
Type | Name | Access | Description |
|---|---|---|---|
| SoundClass | EditDefaultsOnly, BlueprintReadOnly | The sound class associated with this volume level setting. |
| SoundMix | EditDefaultsOnly, BlueprintReadOnly | Not used in the provided code. |
| FmodBusName | EditDefaultsOnly, BlueprintReadOnly | The name of the FMOD bus to control. |
Functions
Return Type | Signature | Description |
|---|---|---|
| ApplyCurrentSetting(bool bUserRequest) | Applies the current setting to the FMOD bus and sound class volume properties. |
| SetDefaults() | Sets default values for the setting, including initializing the FMOD bus if it exists. |
Usage & Implementation Notes
The
ApplyCurrentSettingfunction updates both the FMOD bus volume and the sound class volume based on the current value of the setting.The
SetDefaultsfunction initializes the FMOD bus using the provided name. If the bus cannot be found, a warning is logged.