UUserWidget::SetForegroundColor

Sets the foreground color of the widget, this is inherited by sub 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 SetForegroundColor
(
    FSlateColor InForegroundColor
)

Remarks

Sets the foreground color of the widget, this is inherited by sub widgets. Any color property that is marked as inherit will use this color.

Parameters

Parameter

Description

InForegroundColor

The foreground color.

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