![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <WidgetStyle.h>
Public Member Functions | |
| FWidgetStyle () | |
| FWidgetStyle & | BlendColorAndOpacityTint (const FLinearColor &InTint) |
| FWidgetStyle & | BlendOpacity (float InOpacity) |
| FWidgetStyle & | SetForegroundColor (const FLinearColor &InForeground) |
| SLATECORE_API FWidgetStyle & | SetForegroundColor (const TAttribute< FSlateColor > &InForeground) |
| const FLinearColor & | GetColorAndOpacityTint () const |
| const FLinearColor & | GetForegroundColor () const |
| const FLinearColor & | GetSubduedForegroundColor () const |
Contains info about those aspects of widget appearance that should be propagated hierarchically.
|
inline |
Default constructor.
|
inline |
Blends the current tint color with the specified tint.
| InTint | The color to blend with. |
|
inline |
Blends the current tint color with the specified alpha.
| InTint | The color to blend with. |
|
inline |
Gets the style's color opacity and tint.
|
inline |
Gets the style's foreground color.
|
inline |
Gets the style's subdued color.
|
inline |
Sets the current foreground color from the given linear color.
| InForeground | The foreground color value to set. |
| FWidgetStyle & FWidgetStyle::SetForegroundColor | ( | const TAttribute< FSlateColor > & | InForeground | ) |
Sets the current foreground color from the given Slate color attribute.
If the attribute passed in is not set, the foreground will remain unchanged.
| InForeground | The foreground color to set. |