Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Types/SlateEnums.h |
Include |
#include "Types/SlateEnums.h" |
namespace EButtonTouchMethod
{
enum Type
{
DownAndUp,
Down,
PreciseTap,
}
}
Name |
Description |
---|---|
DownAndUp |
Most buttons behave this way. |
Down |
Click will be triggered immediately on touch down, and touch will not be captured. |
PreciseTap |
Inside a list, buttons can only be clicked with precise tap. |
Ways in which touch interactions trigger a "Clicked" event.