UUserWidget::SetColorAndOpacity

Sets the tint of the widget, this affects all child widgets.

Windows
MacOS
Linux

References

Module

UMG

Header

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

Include

#include "Blueprint/UserWidget.h"

Source

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

Syntax

void SetColorAndOpacity
(
    FLinearColor InColorAndOpacity
)

Remarks

Sets the tint of the widget, this affects all child widgets.

Parameters

Parameter

Description

InColorAndOpacity

The tint to apply to all child widgets.

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