Dela via


HeadOrientation.PitchInDegrees Property

Definition

Gets the counterclockwise rotation of the user's head around the X'-axis (or lateral axis), in degrees.

public:
 property IReference<double> ^ PitchInDegrees { IReference<double> ^ get(); };
IReference<double> PitchInDegrees();
public System.Nullable<double> PitchInDegrees { get; }
var iReference = headOrientation.pitchInDegrees;
Public ReadOnly Property PitchInDegrees As Nullable(Of Double)

Property Value

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.

Remarks

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.

Diagram depicting how roll, pitch, and yaw are described by the human presence APIs.

Applies to

See also