Class ZapGravity

Represent the force of gravity that is applied to a device.

+-------------+-------------+-------------+
| x (32 bits) | y (32 bits) | z (32 bits) |
+-------------+-------------+-------------+

Hierarchy

  • ZapGravity

Implements

Constructors

Properties

Methods

Constructors

Properties

resource: ZapResource = ZapResource.GRAVITY

A resource type of the object.

x: number

Force of gravity along the x axis. (m/s²)

y: number

Force of gravity along the y axis. (m/s²)

z: number

Force of gravity along the z axis. (m/s²)

LENGTH: number = ...

Methods

Generated using TypeDoc