EN
本內容沒有您的語言版本,但有英文版本。

z property

Describes the acceleration (in m/s²) of the host device in motion along the Z, axis.

This property is read-only.

IE11

 

Syntax

JavaScript
ptr = object.z

 

Property values

Type: double

Standards information

Remarks

Acceleration of the host device is relative to the Earth coordinate frame at the user's location, where the Z axis is perpendicular to the screen and is positive out of the screen.

See also

DeviceAcceleration

 

 

顯示:
© 2015 Microsoft