Difference between revisions of "Gyroscope:getRotationRate"
From GiderosMobile
Line 14: | Line 14: | ||
'''<translate>Returns</translate>''' (number) <translate>rate of rotation around y</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>rate of rotation around y</translate><br/> | ||
'''<translate>Returns</translate>''' (number) <translate>rate of rotation around z</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>rate of rotation around z</translate><br/> | ||
+ | |||
+ | {{Gyroscope}} |
Revision as of 21:07, 3 December 2019
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