Get Tracked Device Position and Orientation

Get Tracked Device Position and Orientation

Windows
MacOS
Linux

Gets the orientation and position (in device space) of the device with the specified ID

Target is Steam VRFunction Library

Get Tracked Device Position and Orientation
Device Id
0
Out Position
X0
Y 0
Z 0
Out Orientation
R 0
P 0
Y0
Return Value

Inputs

Device Id
Integer

Id of the device to get tracking info for

Outputs

Out Position
Vector

(out) Current position of the device

Out Orientation
Rotator

(out) Current orientation of the device

Return Value
Boolean

True if the specified device id had a valid tracking pose this frame, false otherwise

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