MotionReading.Attitude Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the attitude (yaw, pitch, and roll) of the device, in radians.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)

Syntax

Public Property Attitude As AttitudeReading
public AttitudeReading Attitude { get; internal set; }

Property Value

Type: Microsoft.Devices.Sensors..::.AttitudeReading
The attitude of the device.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

MotionReading Structure

Microsoft.Devices.Sensors Namespace