Enumerate Tracked Devices

Enumerate Tracked Devices

Windows
MacOS
Linux

Cross XR-System query that will list all XR devices currently being tracked.

Target is Head Mounted Display Function Library

Enumerate Tracked Devices
System Id
None
Device Type
Any
Return Value

Inputs

In
Exec
System Id
Name

(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')

Device Type
EXRTrackedDeviceType Enum

Specifies the type of device to query for - defaults to 'Any' (meaning 'All').

Outputs

Out
Exec
Return Value
Array of XRDevice Id Structures

A list of device identifiers matching the query. Use these to query and operate on the device (e.g. through GetDevicePose, AddDeviceVisualizationComponent, etc.)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback