cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Acceleration Class Reference

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

#include <ccTypes.h>

Inheritance diagram for Acceleration:
Ref

Public Member Functions

 Acceleration ()
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
local getReferenceCount ()
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Public Attributes

double x
double y
double z
double timestamp

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Detailed Description

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

Constructor & Destructor Documentation

Acceleration ( )
inline

Member Data Documentation

double timestamp
double x
double y
double z

The documentation for this class was generated from the following file: