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 |
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
ApplyCurrentSettingfunction checks if the current value is either "Enabled" or "Disabled" before setting the active state of each component accordingly.The
SetDefaultsfunction initializes the possible selections and sets the default selection to "Enabled".