UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IIdentifiableXRDevice Class Referenceabstract

#include <IIdentifiableXRDevice.h>

+ Inheritance diagram for IIdentifiableXRDevice:

Public Member Functions

virtual int32 GetSystemDeviceId () const =0
 
- Public Member Functions inherited from IXRSystemIdentifier
virtual FName GetSystemName () const =0
 

Friends

uint32 GetTypeHash (const IIdentifiableXRDevice &XRDevice)
 

Detailed Description

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.

Member Function Documentation

◆ GetSystemDeviceId()

virtual int32 IIdentifiableXRDevice::GetSystemDeviceId ( ) const
pure virtual

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

Returns
A numerical identifier, unique to this device (not guaranteed to be unique outside of the system this belongs to).

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const IIdentifiableXRDevice XRDevice)
friend

Combines the different aspects of IIdentifiableXRDevice to produce a unique identifier across all XR systems


The documentation for this class was generated from the following file: