engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
IIdentifiableXRDevice类 参考abstract

Generic device identifier interface 更多...

#include <IIdentifiableXRDevice.h>

+ 类 IIdentifiableXRDevice 继承关系图:

Public 成员函数

virtual int32 GetSystemDeviceId () const =0
 Returns a unique identifier that can be used to reference this device within the system is belongs to. 更多...
 

友元

uint32 GetTypeHash (const IIdentifiableXRDevice &XRDevice)
 Combines the different aspects of IIdentifiableXRDevice to produce a unique identifier across all XR systems
 

详细描述

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.

成员函数说明

◆ 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.

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

在 FDefaultXRCamera 内被实现.


该类的文档由以下文件生成: