Gyroscope:getRotationRate

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains changes which are not marked for translation.


Available since: Gideros 2012.8
Class: Gyroscope

Description


Returns the device's rate of rotation around three axes in radians per second.

(number), (number), (number) = Gyroscope:getRotationRate()

Return values

Returns (number) rate of rotation around x
Returns (number) rate of rotation around y
Returns (number) rate of rotation around z