Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayFunctionLibrary.h |
Include |
#include "HeadMountedDisplayFunctionLibrary.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayFunctionLibrary.cpp |
static TArray< FXRDeviceId > EnumerateTrackedDevices
(
const FName SystemId,
EXRTrackedDeviceType DeviceType
)
Cross XR-System query that will list all XR devices currently being tracked.
A list of device identifiers matching the query. Use these to query and operate on the device (e.g. through GetDevicePose, AddDeviceVisualizationComponent, etc.)
Parameter |
Description |
---|---|
SystemId |
(Optional) Specifies an explicit system to poll devices from (use if you want only devices belonging to one explicit XR ecosystem, e.g. 'OculusHMD', or 'SteamVR') |
DeviceType |
Specifies the type of device to query for - defaults to 'Any' (meaning 'All'). |