Limen Framework 0.1 Help

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

TObjectPtr<USoundClass>

SoundClass

EditDefaultsOnly, BlueprintReadOnly

The sound class associated with this volume level setting.

TObjectPtr<USoundMix>

SoundMix

EditDefaultsOnly, BlueprintReadOnly

Not used in the provided code.

FString

FmodBusName

EditDefaultsOnly, BlueprintReadOnly

The name of the FMOD bus to control.

Functions

Return Type

Signature

Description

void

ApplyCurrentSetting(bool bUserRequest)

Applies the current setting to the FMOD bus and sound class volume properties.

void

SetDefaults()

Sets default values for the setting, including initializing the FMOD bus if it exists.

Usage & Implementation Notes

  • The ApplyCurrentSetting function updates both the FMOD bus volume and the sound class volume based on the current value of the setting.

  • The SetDefaults function initializes the FMOD bus using the provided name. If the bus cannot be found, a warning is logged.

22 May 2026