Table of Contents

Class DeviceMotionEventRotationRate

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

A DeviceMotionEventRotationRate interface of the {{domxref("Device Orientation Events", "", "", "nocode")}} provides information about the rate at which the device is rotating around all three axes.

[Value("DeviceMotionEventRotationRate")]
public class DeviceMotionEventRotationRate
Inheritance
DeviceMotionEventRotationRate
Inherited Members

Remarks

Constructors

DeviceMotionEventRotationRate()

public DeviceMotionEventRotationRate()

Properties

Alpha

The alpha read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the Z axis, in degrees per second.

[Value("alpha")]
public Number? Alpha { get; }

Property Value

Number

A double indicating the rate of rotation around the Z axis, in degrees per second.
See Orientation and motion data explained for details.

Remarks

Beta

The beta read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the X axis, in degrees per second.

[Value("beta")]
public Number? Beta { get; }

Property Value

Number

A double indicating the rate of rotation around the X axis, in degrees per second.
See Orientation and motion data explained for details.

Remarks

Gamma

The gamma read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the Y axis, in degrees per second.

[Value("gamma")]
public Number? Gamma { get; }

Property Value

Number

A double indicating the rate of rotation around the Y axis, in degrees per second.
See Orientation and motion data explained for details.

Remarks