Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UUserWidget
Description
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.
| Name | SetForegroundColor |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include Path | #include "Blueprint/UserWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/UserWidget.cpp |
UFUNCTION (BlueprintCallable, BlueprintCosmetic, Category="Appearance")
void SetForegroundColor
(
FSlateColor InForegroundColor
)
Parameters
| Name | Remarks |
|---|---|
| InForegroundColor | The foreground color. |