IXRInput

Optional interface returned from [IXRTrackingSystem](API\Runtime\HeadMountedDisplay\IXRTrackingSystem) if the plugin requires being able to grab touch or keyboard input events.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/IXRInput.h

Include

#include "IXRInput.h"

Syntax

class IXRInput

Remarks

Optional interface returned from IXRTrackingSystem if the plugin requires being able to grab touch or keyboard input events.

Functions

Name Description

Public function Virtual

bool

 

HandleInputKey

(
    UPlayerInput*,
    const FKey& Key,
    EInputEvent EventType,
    float AmountDepressed,
    bool bGamepad
)

Passing key events to HMD.

Public function Virtual

bool

 

HandleInputTouch

(
    uint32 Handle,
    ETouchType::Type Type,
    const FVector2D& TouchLocation,
    FDateTime DeviceTimestamp,
    uint32 TouchpadIndex
)

Passing touch events to HMD.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss