Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DeviceRotationRate object

Represents the rate of rotation (in deg/s) of the host device in space, around its X, Y, and Z axes.

IE11

 

DOM Information

Inheritance Hierarchy

The DeviceRotationRate does not inherit from any class or interface.

Members

The DeviceRotationRate object has these types of members:

Properties

The DeviceRotationRate object has these properties.

PropertyAccess typeDescription

alpha

Read-only

The rate of rotation (in deg/s) of the host device around its Z axis, where Z is perpendicular to the screen, and positive out of the screen.

beta

Read-only

The rate of rotation (in deg/s) of the host device around its X axis, where X is in the plane of the screen, and positive towards the right hand side of the screen.

gamma

Read-only

The rate of rotation (in deg/s) of the host device around its Y axis, where Y is in the plane of the screen, and positive towards the top of the screen.

 

Standards information

Remarks

The X axis of the host device is in the plane of the screen and is positive towards the right hand side of the screen.

The Y axis of the host device is in the plane of the screen and is positive towards the top of the screen.

The Z axis of the host device is perpendicular to the screen and is positive out of the screen.

The X, Y, and Z axes correspond to the beta, gamma, and alpha properties of the DeviceRotationRate object, respectively. Rotations use the right-hand rule, such that positive rotation around an axis is clockwise when viewed looking towards the positive direction of the axis.

See also

DeviceMotionEvent

 

 

Show:
© 2015 Microsoft