Dela via


HeadOrientation.YawInDegrees Property

Definition

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

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

Property Value

The counterclockwise rotation of the user's head around the Y'-axis (or vertical axis), in degrees.

This value has a range of [-90, 90) degrees.

Remarks

Similar to turning your head left or right.

In the zero position, the Y'-axis is parallel to the device's Y-axis and points from the center of the person's face upwards.

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

Applies to

See also