RotationRate Property
Collapse the table of content
Expand the table of content

GyroscopeReading.RotationRate Property

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

Gets the rotational velocity around each axis of the device, in radians per second.

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

public Vector3 RotationRate { get; internal set; }

Property Value

Type: Vector3
The rotational velocity around each axis of the device.

Because a gyroscope measures rotational velocity and not angle, it is susceptible to issues related to drift. If you are interested in determining the attitude (yaw, pitch, and roll) of the device, you should use Motion instead.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft