HeadPosition.AltitudeInDegrees Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the elevation of the user's head relative to the horizontal plane of the human presence sensor, in degrees.
public:
property IReference<double> ^ AltitudeInDegrees { IReference<double> ^ get(); };
IReference<double> AltitudeInDegrees();
public System.Nullable<double> AltitudeInDegrees { get; }
var iReference = headPosition.altitudeInDegrees;
Public ReadOnly Property AltitudeInDegrees As Nullable(Of Double)
Property Value
The elevation of the user's head relative to the horizontal plane of the human presence sensor, in degrees.
This value has a range of -90 degrees to 90 degrees and is positive in the direction of the Y-axis.
Remarks
The angle between Z-axis and XZ-projection of the vector pointing from the sensor device to the center of the user's head and its XZ-projection. Range is constrained by the maximum and minimum altitude sensor properties.
The following image shows how azimuth and altitude are described by the human presence APIs.