Cocos Creator API

1.2.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Acceleration

模块: cc

设备重力传感器传递的各个轴的数据。

方法

Acceleration
(
  • x
  • y
  • z
  • timestamp
)
Acceleration

名称 类型 描述
x Number
y Number
z Number
timestamp Number

返回:

类型: Acceleration

There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index