Returns the current accelerometer reading for the X direction in the range -1 to 1.
class property X: Single;
This matches the screen coordinate system of positive being to the right, but only when in the original portrait orientation. If no accelerometer exists this will always return 0.
Copyright (c) 2012. All rights reserved.
|