UWidgetBlueprintLibrary::SetColorVisionDeficiencyType

Apply color deficiency correction settings to the game window

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h

Include

#include "Blueprint/WidgetBlueprintLibrary.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp

Syntax

static void SetColorVisionDeficiencyType
(
    EColorVisionDeficiency Type,
    float Severity,
    bool CorrectDeficiency,
    bool ShowCorrectionWithDeficiency
)

Remarks

Apply color deficiency correction settings to the game window

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss