Difference between revisions of "Gyroscope:getRotationRate"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2012.8<br/> | + | '''<translate>Available since</translate>:''' Gideros 2012.8<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate><br /> | <translate><br /> | ||
Returns the device's rate of rotation around three axes in radians per second.<br /> | Returns the device's rate of rotation around three axes in radians per second.<br /> | ||
Line 8: | Line 8: | ||
(number), (number), (number) = Gyroscope:getRotationRate() | (number), (number), (number) = Gyroscope:getRotationRate() | ||
</source> | </source> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (number) <translate>rate of rotation around x</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>rate of rotation around x</translate><br/> |
− | '''Returns''' (number) <translate>rate of rotation around y</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>rate of rotation around y</translate><br/> |
− | '''Returns''' (number) <translate>rate of rotation around z</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>rate of rotation around z</translate><br/> |
Revision as of 07:28, 24 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