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,
    enum 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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback