unreal.TouchId

class unreal.TouchId(device_id: InputDeviceId = [], touch_index: TouchIndex = Ellipsis)

Bases: StructBase

Identifies a specific touch contact on a specific input device. Combines device identity (FInputDeviceId) with finger index (ETouchIndex) so that multiple touchscreens can each have independent finger-0, etc.

C++ Source:

  • Module: InputCore

  • File: InputCoreTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • device_id (InputDeviceId): [Read-Write] The device being touched.

  • touch_index (TouchIndex): [Read-Write] The device-specific index that differentiates this touch from other simultaneous touch inputs on the same device.

property device_id: InputDeviceId

[Read-Only] The device being touched.

Type:

(InputDeviceId)

property touch_index: TouchIndex

[Read-Only] The device-specific index that differentiates this touch from other simultaneous touch inputs on the same device.

Type:

(TouchIndex)