![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateTypes.h>
Inheritance diagram for FButtonStyle:Static Public Member Functions | |
| static SLATECORE_API const FButtonStyle & | GetDefault () |
Static Public Attributes | |
| static SLATECORE_API const FName | TypeName |
Represents the appearance of an SButton
| PRAGMA_ENABLE_DEPRECATION_WARNINGS FButtonStyle::FButtonStyle | ( | ) |
|
default |
|
virtualdefault |
|
static |
|
overridevirtual |
Gets the brush resources associated with this style.
This method must be implemented by inherited structures.
| OutBrushes | The brush resources. |
Reimplemented from FSlateWidgetStyle.
Gets the name of this style.
This method must be implemented by inherited structures.
Reimplemented from FSlateWidgetStyle.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Unlinks all colors in this style.
| FSlateSound FButtonStyle::ClickedSlateSound |
The sound the button should play when clicked
| FSlateBrush FButtonStyle::Disabled |
Button appearance when disabled, by default this is set to an invalid resource when that is the case default disabled drawing is used.
| FSlateColor FButtonStyle::DisabledForeground |
Foreground Color when disabled
| FSlateBrush FButtonStyle::Hovered |
Button appearance when hovered
| FSlateColor FButtonStyle::HoveredForeground |
Foreground Color when hovered
| FSlateSound FButtonStyle::HoveredSlateSound |
The sound the button should play when initially hovered over
| FSlateBrush FButtonStyle::Normal |
Button appearance when the button is not hovered or pressed
| FSlateColor FButtonStyle::NormalForeground |
Foreground Color when the button is not hovered or pressed
| FMargin FButtonStyle::NormalPadding |
Padding that accounts for the border in the button's background image. When this is applied, the content of the button should appear flush with the button's border. Use this padding when the button is not pressed.
| FSlateBrush FButtonStyle::Pressed |
Button appearance when pressed
| FSlateColor FButtonStyle::PressedForeground |
Foreground Color when pressed
| FMargin FButtonStyle::PressedPadding |
Same as NormalPadding but used when the button is pressed. Allows for moving the content to match any "movement" in the button's border image.
| FSlateSound FButtonStyle::PressedSlateSound |
The sound the button should play when pressed
|
static |