Difference between revisions of "Gyroscope:getRotationRate"
From GiderosMobile
Line 8: | Line 8: | ||
(number), (number), (number) = Gyroscope:getRotationRate() | (number), (number), (number) = Gyroscope:getRotationRate() | ||
</source> | </source> | ||
+ | === Return values === | ||
'''Returns''' (number) rate of rotation around x<br/> | '''Returns''' (number) rate of rotation around x<br/> | ||
'''Returns''' (number) rate of rotation around y<br/> | '''Returns''' (number) rate of rotation around y<br/> | ||
'''Returns''' (number) rate of rotation around z<br/> | '''Returns''' (number) rate of rotation around z<br/> |
Revision as of 10:45, 23 August 2018
Available since: Gideros 2012.8
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