cocos2d-x
3.3
|
The device accelerometer reports values for each axis in units of g-force. More...
#include <ccTypes.h>
Public Member Functions | |
Acceleration () | |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
NA NA More... | |
Public Attributes | |
double | x |
double | y |
double | z |
double | timestamp |
Additional Inherited Members | |
![]() | |
Ref () | |
Constructor. More... | |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
The device accelerometer reports values for each axis in units of g-force.
|
inline |
double timestamp |
double x |
double y |
double z |