-api-id | -api-type |
---|---|
P:Windows.Devices.Sensors.HeadOrientation.PitchInDegrees |
winrt property |
Gets the counterclockwise rotation of the user's head around the X'-axis (or lateral axis), in degrees.
The counterclockwise rotation of the user's head around the X'-axis (or lateral axis), in degrees.
This value has a range of [-180, 180) degrees.
Similar to tilting the nose of an aeroplane up or down.
In the zero position, the X'-axis is parallel to the device's X-axis and points from the center of the person's face towards the right, from the device perspective.
:::image type="content" source="images/human-presence-roll-pitch-yaw.png" alt-text="Diagram depicting how roll, pitch, and yaw are described by the human presence APIs.":::