IIdentifiableXRDevice

Generic device identifier interface

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

HeadMountedDisplay

Header

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

Include

#include "IIdentifiableXRDevice.h"

Syntax

class IIdentifiableXRDevice : public IXRSystemIdentifier

Remarks

Generic device identifier interface

This class is meant to provide a way to identify and distinguish XR devices across various XR systems in a platform-agnostic way.

Additionally, it can be used to tie various IModularFeature device interfaces together. For example, if you have separate IXRTrackingSystem and IXRSystemAssets interfaces which both reference the same devices, then this base class gives you a way to communicate between the two.

Functions

Name Description

Public function Const

int32

 

GetSystemDeviceId()

Returns a unique identifier that can be used to reference this device within the system is belongs to.

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