Navigation
API > API/Runtime > API/Runtime/InputCore
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.
| Name | FTouchId |
| Type | struct |
| Header File | /Engine/Source/Runtime/InputCore/Classes/InputCoreTypes.h |
| Include Path | #include "InputCoreTypes.h" |
Syntax
USTRUCT (BlueprintType , MinimalAPI)
struct FTouchId
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTouchId () |
InputCoreTypes.h | ||
FTouchId
(
const FInputDeviceId InDeviceId, |
InputCoreTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DeviceId | FInputDeviceId | The device being touched. | InputCoreTypes.h |
|
| TouchIndex | TEnumAsByte< ETouchIndex::Type > | The device-specific index that differentiates this touch from other simultaneous touch inputs on the same device. | InputCoreTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInputDeviceId GetDeviceId() |
InputCoreTypes.h | ||
ETouchIndex::Type GetIndex() |
InputCoreTypes.h | ||
bool IsValid() |
InputCoreTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FTouchId& Other |
InputCoreTypes.h | ||
bool operator==
(
const FTouchId& Other |
InputCoreTypes.h |