ULimenRayTracedShadowsSetting
Overview
ULimenRayTracedShadowsSetting is a subclass of ULimenSelectionSetting designed to handle the enabling and disabling of ray-traced shadows. It provides functionality to apply settings, set defaults, and manage user interaction with the setting.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FString | Enabled | Public Static | The string identifier for the "Enabled" state. |
FString | Disabled | Public Static | The string identifier for the "Disabled" state. |
Functions
Return Type | Signature | Description |
|---|---|---|
bool | CanEdit() const | Determines if the setting can be edited based on the current console variable value and the base class implementation. |
void | ApplyCurrentSetting(bool bUserRequest) override | Applies the current setting by finding the corresponding |
void | SetDefaults() override | Sets default values for the setting, including adding console settings for "Enabled" and "Disabled" states, and configuring possible selections and default selection. |
void | RayTracingSettingApplied(const ULimenSetting* Setting) | Handles the application of a related ray-tracing setting, updating the current value if necessary and broadcasting a state change event. |
Usage & Implementation Notes
Threading Constraints: This class does not have specific threading constraints.
Replication Requirements: No replication is required for this class.
Memory Lifetime Management: The class manages memory by dynamically adding console settings and handling events related to setting changes.
Initialization Dependencies: The class depends on the
ULimenGraphicalSettingsSubsystemto retrieve a related ray-tracing setting and manage its application.