Cocos Creator API

1.3.0

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

Acceleration

: cc

the device accelerometer reports values for each axis in units of g-force.

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

x Number
y Number
z Number
timestamp Number

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