Choose your operating system:
Windows
macOS
Linux
| FSlateBaseNamedArgs
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Input/SButton.h |
Include |
#include "Widgets/Input/SButton.h" |
struct FArguments : public TSlateBaseNamedArgs< SButton >
Name | Description | |
---|---|---|
|
FArguments() |
Name | Description | ||
---|---|---|---|
|
WidgetArgsTy... |
ButtonColorAndOpacity ( |
|
|
WidgetArgsTy... |
ButtonStyle ( |
The visual style of the button |
|
WidgetArgsTy... |
ClickMethod ( |
Sets the rules to use for determining whether the button was clicked. |
|
NamedSlotPro... |
Content() |
Slot for this button's content (optional) |
|
WidgetArgsTy... |
ContentPadding ( |
Spacing between button's border and the content. |
|
WidgetArgsTy... |
ContentScale ( |
|
|
WidgetArgsTy... |
DesiredSizeScale ( |
|
|
WidgetArgsTy... |
ForegroundColor ( |
|
|
WidgetArgsTy... |
HAlign ( |
Horizontal alignment |
|
WidgetArgsTy... |
HoveredSoundOverride ( |
The sound to play when the button is hovered |
|
WidgetArgsTy... |
IsFocusable ( |
Sometimes a button should only be mouse-clickable and never keyboard focusable. |
|
WidgetArgsTy... |
OnClicked ( |
Called when the button is clicked |
|
WidgetArgsTy... |
OnHovered ( |
|
|
WidgetArgsTy... |
OnPressed ( |
Called when the button is pressed |
|
WidgetArgsTy... |
OnReleased ( |
Called when the button is released |
|
WidgetArgsTy... |
OnUnhovered ( |
|
|
WidgetArgsTy... |
PressedSoundOverride ( |
The sound to play when the button is pressed |
|
WidgetArgsTy... |
PressMethod ( |
How should the button be clicked with keyboard/controller button events? |
|
WidgetArgsTy... |
Text ( |
The text to display in this button, if no custom content is specified |
|
WidgetArgsTy... |
TextFlowDirection ( |
Which text flow direction should we use? (unset to use the default returned by GetDefaultTextFlowDirection) |
|
WidgetArgsTy... |
TextShapingMethod ( |
Which text shaping method should we use? (unset to use the default returned by GetDefaultTextShapingMethod) |
|
WidgetArgsTy... |
TextStyle ( |
The text style of the button |
|
WidgetArgsTy... |
TouchMethod ( |
How should the button be clicked with touch events? |
|
WidgetArgsTy... |
VAlign ( |
Vertical alignment |
Name | Description | ||
---|---|---|---|
|
operator[] ( |
Name |
Description |
---|---|
WidgetArgsType |