Torque2D Reference
Instance Methods | Protected Attributes | Properties | List of all members
iOSMotionManager Class Reference

#import <iOSMotionManager.h>

+ Inheritance diagram for iOSMotionManager:

Instance Methods

(void) - enableAccelerometer
 
(void) - disableAccelerometer
 
(bool) - isAccelerometerActive
 
(bool) - enableGyroscope
 
(bool) - disableGyroscope
 
(bool) - isGyroAvailable
 
(bool) - isGyroActive
 
(bool) - startDeviceMotion
 
(bool) - stopDeviceMotion
 
(bool) - resetDeviceMotionReference
 
(bool) - isDeviceMotionAvailable
 
(bool) - isDeviceMotionActive
 

Protected Attributes

CMMotionManager * motionManager
 

Properties

bool accelerometerEnabled
 
bool gyroscopeEnabled
 
CMAttitude * referenceAttitude
 

Method Documentation

- (void) disableAccelerometer
- (bool) disableGyroscope
- (void) enableAccelerometer
- (bool) enableGyroscope
- (bool) isAccelerometerActive
- (bool) isDeviceMotionActive
- (bool) isDeviceMotionAvailable
- (bool) isGyroActive
- (bool) isGyroAvailable
- (bool) resetDeviceMotionReference
- (bool) startDeviceMotion
- (bool) stopDeviceMotion

Member Data Documentation

- (CMMotionManager*) motionManager
protected

Property Documentation

- (bool) accelerometerEnabled
readwriteatomicassign
- (bool) gyroscopeEnabled
readwriteatomicassign
- (CMAttitude *) referenceAttitude
readwriteatomicstrong

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