Udostępnij za pośrednictwem


HeadOrientation.RollInDegrees Property

Definition

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

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

Property Value

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

This value has a range of [0, 360) degrees.

Remarks

Similar to tilting the motion of a wheel on a car or bike.

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

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

Applies to

See also