Get Tracking Sensor Parameters

Get Tracking Sensor Parameters

Windows
MacOS
Linux

If the HMD has a positional sensor, this will return the game-world location of it, as well as the parameters for the bounding region of tracking. This allows an in-game representation of the legal positional tracking range. All values will be zeroed if the sensor is not available or the HMD does not support it.

Target is Head Mounted Display Function Library

Get Tracking Sensor Parameters
Index
0
Origin
X0
Y 0
Z 0
Rotation
R 0
P 0
Y0
Left FOV
0.0
Right FOV
0.0
Top FOV
0.0
Bottom FOV
0.0
Distance
0.0
Near Plane
0.0
Far Plane
0.0
Is Active

Inputs

Index
Integer

(in) Index of the tracking sensor to query

Outputs

Origin
Vector

(out) Origin, in world-space, of the sensor

Rotation
Rotator

(out) Rotation, in world-space, of the sensor

Left FOV
Float

(out) Field-of-view, left from center, in degrees, of the valid tracking zone of the sensor

Right FOV
Float

(out) Field-of-view, right from center, in degrees, of the valid tracking zone of the sensor

Top FOV
Float

(out) Field-of-view, top from center, in degrees, of the valid tracking zone of the sensor

Bottom FOV
Float

(out) Field-of-view, bottom from center, in degrees, of the valid tracking zone of the sensor

Distance
Float

(out) Nominal distance to sensor, in world-space

Near Plane
Float

(out) Near plane distance of the tracking volume, in world-space

Far Plane
Float

(out) Far plane distance of the tracking volume, in world-space

Is Active
Boolean

(out) True, if the query for the specified sensor succeeded.

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