-api-id | -api-type | -api-device-family-note |
---|---|---|
P:Windows.Perception.People.HeadPose.ForwardDirection |
winrt property |
xbox |
Gets the forward direction of the user's head gaze in the specified coordinate system, as a unit vector.
The forward direction unit vector.
[!NOTE] On most Windows Mixed Reality devices, the forward direction vector is parallel to the ground when the user's head is in a neutral position looking forward. However, earlier versions of HoloLens 2 aligned the vector to be perpendicular to the display panels instead, which is tilted downward a few degrees relative to the ideal orientation. Newer versions of HoloLens 2 have corrected this to ensure semantic consistency across form factors.