constructor Class

Module: _decorator Parent Module: cc

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

Index

Methods

Details

Methods

setAccelerometerEnabled

whether enable accelerometer event

meta description
Defined in cocos2d/core/platform/CCInputExtension.js:57
Parameters
setAccelerometerInterval

set accelerometer interval value

meta description
Defined in cocos2d/core/platform/CCInputExtension.js:85
Parameters

results matching ""

    No results matching ""