unreal.ButtonTouchMethod

class unreal.ButtonTouchMethod

Bases: unreal.EnumBase

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

C++ Source:

  • Module: SlateCore

  • File: SlateEnums.h

DOWN

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

Type

1

DOWN_AND_UP

Most buttons behave this way.

Type

0

PRECISE_TAP

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

Type

2