Represents the appearance of an SButton 更多...
#include <SlateTypes.h>
类 FButtonStyle 继承关系图:Public 成员函数 | |
| virtual void | GetResources (TArray< const FSlateBrush * > &OutBrushes) const override |
| Gets the brush resources associated with this style. 更多... | |
| virtual const FName | GetTypeName () const override |
| Gets the name of this style. 更多... | |
| void | UnlinkColors () |
| Unlinks all colors in this style. 更多... | |
Public 成员函数 继承自 FSlateWidgetStyle | |
| FSlateWidgetStyle () | |
| Default constructor. | |
| virtual void | GetResources (TArray< const FSlateBrush * > &OutBrushes) const |
| Gets the brush resources associated with this style. 更多... | |
| virtual const FName | GetTypeName () const |
| Gets the name of this style. 更多... | |
| virtual | ~FSlateWidgetStyle () |
| Virtual Destructor. | |
Public 属性 | |
| FSlateBrush | Disabled |
| Button appearance when disabled, by default this is set to an invalid resource when that is the case default disabled drawing is used. | |
| FSlateBrush | Hovered |
| Button appearance when hovered | |
| FSlateSound | HoveredSlateSound |
| The sound the button should play when initially hovered over | |
| FSlateBrush | Normal |
| Button appearance when the button is not hovered or pressed | |
| FMargin | NormalPadding |
| Padding that accounts for the border in the button's background image. 更多... | |
| FSlateBrush | Pressed |
| Button appearance when pressed | |
| FMargin | PressedPadding |
| Same as NormalPadding but used when the button is pressed. 更多... | |
| FSlateSound | PressedSlateSound |
| The sound the button should play when pressed | |
Represents the appearance of an SButton
|
overridevirtual |
Gets the brush resources associated with this style.
This method must be implemented by inherited structures.
| OutBrushes | The brush resources. |
重载 FSlateWidgetStyle .
|
inlineoverridevirtual |
Gets the name of this style.
This method must be implemented by inherited structures.
重载 FSlateWidgetStyle .
|
inline |
Unlinks all colors in this style.
| 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.
| 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.