AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawAccelerator.Z Property

Returns the current accelerometer reading for the Z direction in the range -1 to 1.

Syntax
Pascal
class property Z: Single;

A positive Z value means the screen is facing upwards. If no accelerometer exists this will always return 0.

Copyright (c) 2012. All rights reserved.