unreal.TouchInterface

class unreal.TouchInterface(outer=None, name='None')

Bases: unreal.Object

Defines an interface by which touch input can be controlled using any number of buttons and virtual joysticks

C++ Source:

  • Module: Engine

  • File: TouchInterface.h

Editor Properties: (see get_editor_property/set_editor_property)

  • activation_delay (float): [Read-Write] Activation Delay: How long after joystick enabled for touch (0.0 will disable this feature)

  • active_opacity (float): [Read-Write] Active Opacity: Opacity (0.0 - 1.0) of all controls while any control is active

  • controls (Array(TouchInputControl)): [Read-Write] Controls

  • inactive_opacity (float): [Read-Write] Inactive Opacity: Opacity (0.0 - 1.0) of all controls while no controls are active

  • prevent_recenter (bool): [Read-Write] Prevent Recenter: Whether to prevent joystick re-center

  • startup_delay (float): [Read-Write] Startup Delay: Delay at startup before virtual joystick is drawn

  • time_until_deactive (float): [Read-Write] Time Until Deactive: How long after user interaction will all controls fade out to Inactive Opacity

  • time_until_reset (float): [Read-Write] Time Until Reset: How long after going inactive will controls reset/recenter themselves (0.0 will disable this feature)