FWidgetStyle::SetForegroundColor

Sets the current foreground color from the given linear color.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/WidgetStyle.h

Include

#include "Styling/WidgetStyle.h"

Syntax

FWidgetStyle & SetForegroundColor
(
    const FLinearColor & InForeground
)

Remarks

Sets the current foreground color from the given linear color.

Returns

This instance (for method chaining).

Parameters

Parameter

Description

InForeground

The foreground color value to set.

See Also

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