Contains info about those aspects of widget appearance that should be propagated hierarchically. 更多...
#include <WidgetStyle.h>
Public 成员函数 | |
| 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. 更多... | |
| FWidgetStyle () | |
| Default constructor. | |
| const FLinearColor & | GetColorAndOpacityTint () const |
| Gets the style's color opacity and tint. 更多... | |
| const FLinearColor & | GetForegroundColor () const |
| Gets the style's foreground color. 更多... | |
| const FLinearColor & | GetSubduedForegroundColor () const |
| 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. 更多... | |
Contains info about those aspects of widget appearance that should be propagated hierarchically.
|
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. |