ULimenRayTracingSetting
Overview
ULimenRayTracingSetting is a subclass of ULimenSelectionSetting designed to handle the configuration and application of the ray-tracing feature. It provides functionality to check if editing is allowed based on hardware support, apply the current setting, and set default values for the ray-tracing option.
Properties
Type | Name | Access | Description |
|---|---|---|---|
| Enabled | Public Static | Constant string representing the enabled state of raytracing. |
| Disabled | Public Static | Constant string representing the disabled state of raytracing. |
Functions
Return Type | Signature | Description |
|---|---|---|
|
| Determines if editing is allowed based on whether the hardware supports ray-tracing. |
|
| Applies the current setting by finding and applying the corresponding console variable. |
|
| Sets default values for the ray-tracing option, including adding console variables for both enabled and disabled states. |
Usage & Implementation Notes
The class checks if hardware supports ray-tracing before allowing editing.
It applies settings by finding and applying the corresponding console variable based on the current value.
Default values are set to enable ray-tracing if supported by the hardware, otherwise disable it.
Properties (Table: Type | Name | Access | Description)
Type | Name | Access | Description |
|---|---|---|---|
FString | Enabled | Public Static | Constant string representing the enabled state of raytracing. |
FString | Disabled | Public Static | Constant string representing the disabled state of raytracing. |
Functions (Table: Return Type | Signature | Description)
Return Type | Signature | Description |
|---|---|---|
bool |
| Determines if editing is allowed based on whether the hardware supports ray-tracing. |
void |
| Applies the current setting by finding and applying the corresponding console variable. |
void |
| Sets default values for the ray-tracing option, including adding console variables for both enabled and disabled states. |
Usage & Implementation Notes
The class checks if hardware supports ray-tracing before allowing editing.
It applies settings by finding and applying the corresponding console variable based on the current value.
Default values are set to enable ray-tracing if supported by the hardware, otherwise disable it.