Limen Framework 0.1 Help

ULimenDynamicDepthOfFieldSetting

Overview

ULimenDynamicDepthOfFieldSetting is a subclass of ULimenSelectionSetting. It controls the dynamic depth of field effect in the game world. The class applies the selected state to all actors with ULimenDynamicDepthOfFieldComponent.

Properties

Type

Name

Access

Description

FString

Enabled

Private

String constant representing the "Enabled" state.

FString

Disabled

Private

String constant representing the "Disabled" state.

Functions

Return Type

Signature

Description

void

ApplyCurrentSetting(bool bUserRequest)

Applies the current setting to all actors with ULimenDynamicDepthOfFieldComponent. If bUserRequest is true, it indicates a user-initiated change.

void

SetDefaults()

Sets up the possible selections and default selection for this setting.

Usage & Implementation Notes

  • This class iterates over all actors in the world to apply the depth of field setting.

  • The ApplyCurrentSetting function checks if the current value is either "Enabled" or "Disabled" before setting the active state of each component accordingly.

  • The SetDefaults function initializes the possible selections and sets the default selection to "Enabled".

22 May 2026