UContentWidget > UPanelWidget > UWidget > UVisual > UObject
The button is a click-able primitive widget to enable basic interaction, you can place any other widget inside a button to make a more complex and interesting click-able element in your UI. Single Child Clickable
Member | Type | Offset | Share |
---|---|---|---|
Style | USlateWidgetStyleAsset* | 0x120 | |
WidgetStyle
The button style used at runtime |
FButtonStyle | 0x128 | |
ColorAndOpacity
The color multiplier for the button content |
FLinearColor | 0x3a0 | |
BackgroundColor
The color multiplier for the button background |
FLinearColor | 0x3b0 | |
ClickMethod
The type of mouse action required by the user to trigger the buttons 'Click' |
EButtonClickMethod | 0x3c0 | |
TouchMethod
The type of touch action required by the user to trigger the buttons 'Click' |
EButtonTouchMethod | 0x3c1 | |
PressMethod
The type of keyboard/gamepad button press action required by the user to trigger the buttons 'Click' |
EButtonPressMethod | 0x3c2 | |
IsFocusable
Sometimes a button should only be mouse-clickable and never keyboard focusable. |
bool | 0x3c3 | |
OnClicked
Called when the button is clicked |
FMulticastInlineDelegate | 0x3c8 | |
OnPressed
Called when the button is pressed |
FMulticastInlineDelegate | 0x3d8 | |
OnReleased
Called when the button is released |
FMulticastInlineDelegate | 0x3e8 | |
OnHovered | FMulticastInlineDelegate | 0x3f8 | |
OnUnHovered | FMulticastInlineDelegate | 0x408 |