Limen Framework 0.1 Help

ULimenBrightnessSetting

Overview

ULimenBrightnessSetting is a subclass of ULimenSetting that implements interfaces for readable and editable settings. It manages brightness levels through FBrightnessSettingValues, applying these settings to post-process volumes in Unreal Engine.

Properties

Type

Name

Access

Description

FBrightnessSettingValues

CurrentSelection

Private

The currently selected brightness values.

FBrightnessSettingValues

PreviousSelection

Private

The previously selected brightness values.

FBrightnessSettingValues

AppliedSelection

SaveGame

The applied brightness values, saved across sessions.

FBrightnessSettingValues

DefaultSelection

Private

The default brightness values.

TArray

DummyData

Private

A dummy array used for returning setting values in GetSettingValues.

Functions

Return Type

Signature

Description

const TArray

&

GetSettingValues() const

Returns a dummy array of brightness settings.

FBrightnessSettingValues

GetCurrentValue() const

Returns the currently selected brightness values.

FBrightnessSettingValues

GetPreviousValue() const

Returns the previously selected brightness values.

FBrightnessSettingValues

GetAppliedValue() const

Returns the applied brightness values.

bool

IsValueValid(const FBrightnessSettingValues& Test)

Checks if the provided brightness values are valid (finite).

bool

CanEdit() const

Always returns true, indicating that editing is allowed.

bool

SetNewValue(const FBrightnessSettingValues& NewSelection)

Sets a new brightness value and updates previous selection. Broadcasts an update event.

void

ApplyCurrentSetting(bool bUserRequest = false)

Applies the current settings to post-process volumes. Calls the base class method.

void

SetDefaults()

Initializes default values and sets up subsystem callbacks.

void

SetDefaultValue()

Sets the current selection to the default values.

void

PostDataLoaded()

Resets previous and current selections to applied values after data is loaded.

void

PostProcessSettingEvaluate(FPostProcessSettings& Settings) const

Applies brightness settings to post-process volumes. Broadcasts an applied event.

Usage & Implementation Notes

  • Threading Constraints: None.

  • Replication Requirements: AppliedSelection is marked with SaveGame, ensuring it persists across sessions.

  • Memory Lifetime Management: Properly manages memory by initializing and updating properties as needed.

  • Initialization Dependencies: Depends on the presence of ULimenGraphicalSettingsSubsystem to set up post-process volume callbacks.

22 May 2026