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

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