unreal.ButtonTouchMethod

class unreal.ButtonTouchMethod

Bases: EnumBase

Ways in which touch interactions trigger a “Clicked” event.

C++ Source:

  • Module: SlateCore

  • File: SlateEnums.h

DOWN: ButtonTouchMethod

Click will be triggered immediately on touch down, and touch will not be captured.

Type:

1

DOWN_AND_UP: ButtonTouchMethod

Most buttons behave this way.

Type:

0

PRECISE_TAP: ButtonTouchMethod

Inside a list, buttons can only be clicked with precise tap. Moving the pointer will scroll the list.

Type:

2