#include <CCDevice.h>
Gets the DPI of device.
- Returns
- The DPI of device.
Gets the DPI of device.
- Returns
- The DPI of device.
Gets the DPI of device.
- Returns
- The DPI of device.
static void setAccelerometerEnabled |
( |
bool |
isEnabled) | |
|
|
static |
To enable or disable accelerometer.
var setAccelerometerEnabled |
( |
var |
isEnabled) | |
|
|
static |
To enable or disable accelerometer.
local setAccelerometerEnabled |
( |
local |
isEnabled) | |
|
|
static |
To enable or disable accelerometer.
static void
setAccelerometerInterval |
( |
float |
interval) | |
|
|
static |
Sets the interval of accelerometer.
var setAccelerometerInterval |
( |
var |
interval) | |
|
|
static |
Sets the interval of accelerometer.
local setAccelerometerInterval |
( |
local |
interval) | |
|
|
static |
Sets the interval of accelerometer.
The documentation for this class was generated from the following file:
- /Users/cocos2d/MyWork/cocos2d-x-develop/cocos/2d/platform/CCDevice.h