IXRSystemAssets::EnumerateRenderableDevices

Fills out a device list with unique identifiers that can be used to reference system specific devices.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

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

Include

#include "IXRSystemAssets.h"

Syntax

bool EnumerateRenderableDevices
(
    TArray< int32 > & DeviceListOut
)

Remarks

Fills out a device list with unique identifiers that can be used to reference system specific devices.

These IDs are intended to be used with certain methods to reference a specific device (like with CreateRenderComponent(), etc.).

that these IDs are NOT interoperable across XR systems (vive vs. oculus, etc.). Using an ID from one system with another will have undefined results.

Returns

True if the DeviceList was successfully updated, otherwise false.

Parameters

Parameter

Description

DeviceListOut

A list of

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