Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Styling/WidgetStyle.h |
Include | #include "Styling/WidgetStyle.h" |
Syntax
class FWidgetStyle
Remarks
Contains info about those aspects of widget appearance that should be propagated hierarchically.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FWidgetStyle () |
Default constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FWidgetStyle & | BlendColorAndOpacityTint
(
const FLinearColor& InTint |
Blends the current tint color with the specified tint. |
![]() |
FWidgetStyle & | BlendOpacity
(
float InOpacity |
Blends the current tint color with the specified alpha. |
![]() ![]() |
const FLinearColor & | Gets the style's color opacity and tint. | |
![]() ![]() |
const FLinearColor & | Gets the style's foreground color. | |
![]() ![]() |
const FLinearColor & | Gets the style's subdued color. | |
![]() |
FWidgetStyle & | SetForegroundColor
(
const FLinearColor& InForeground |
Sets the current foreground color from the given linear color. |
![]() |
FWidgetStyle & | SetForegroundColor
(
const TAttribute< FSlateColor >& InForeground |
Sets the current foreground color from the given Slate color attribute. |
Constants
Name | Description |
---|---|
SubdueAmount |