Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
Include |
#include "Blueprint/WidgetBlueprintLibrary.h" |
Source |
/Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
static void SetColorVisionDeficiencyType
(
EColorVisionDeficiency Type,
float Severity,
bool CorrectDeficiency,
bool ShowCorrectionWithDeficiency
)
Apply color deficiency correction settings to the game window
Parameter |
Description |
---|---|
Type |
The type of color deficiency correction to apply. |
Severity |
Intensity of the color deficiency correction effect, from 0 to 1. |
CorrectDeficiency |
Shifts the color spectrum to the visible range based on the current deficiency type. |
ShowCorrectionWithDeficiency |
If you're correcting the color deficiency, you can use this to visualize what the correction looks like with the deficiency. |