unreal.TouchInterface
¶
- class unreal.TouchInterface(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
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 activecontrols
(Array[TouchInputControl]): [Read-Write] Controlsinactive_opacity
(float): [Read-Write] Inactive Opacity: Opacity (0.0 - 1.0) of all controls while no controls are activeprevent_recenter
(bool): [Read-Write] Prevent Recenter: Whether to prevent joystick re-centerstartup_delay
(float): [Read-Write] Startup Delay: Delay at startup before virtual joystick is drawntime_until_deactive
(float): [Read-Write] Time Until Deactive: How long after user interaction will all controls fade out to Inactive Opacitytime_until_reset
(float): [Read-Write] Time Until Reset: How long after going inactive will controls reset/recenter themselves (0.0 will disable this feature)