Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Types
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Types/SlateEnums.h |
Include | #include "Types/SlateEnums.h" |
Syntax
namespace EButtonClickMethod
{
enum Type
&123;
DownAndUp,
MouseDown,
MouseUp,
PreciseClick,
&125;
}
Values
Name | Description |
---|---|
DownAndUp | User must press the button, then release while over the button to trigger the click. |
MouseDown | Click will be triggered immediately on mouse down, and mouse will not be captured. |
MouseUp | Click will always be triggered when mouse button is released over the button, even if the button wasn't pressed down over it. |
PreciseClick | Inside a list, buttons can only be clicked with precise tap. |
Remarks
Enumerates different methods that a button click can be triggered. Normally, DownAndUp is appropriate.