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] How long after joystick enabled for touch (0.0 will disable this feature)active_opacity
(float): [Read-Write] Opacity (0.0 - 1.0) of all controls while any control is activecontrols
(Array(TouchInputControl)): [Read-Write] Controlsinactive_opacity
(float): [Read-Write] Opacity (0.0 - 1.0) of all controls while no controls are activeprevent_recenter
(bool): [Read-Write] Whether to prevent joystick re-centerstartup_delay
(float): [Read-Write] Delay at startup before virtual joystick is drawntime_until_deactive
(float): [Read-Write] How long after user interaction will all controls fade out to Inactive Opacitytime_until_reset
(float): [Read-Write] How long after going inactive will controls reset/recenter themselves (0.0 will disable this feature)