Difference between revisions of "Gyroscope:getRotationRate"
From GiderosMobile
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2012.8<br/> | |
− | ''' | + | '''Class:''' [[Gyroscope]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Returns the device rate of rotation around three axes in radians per second. | |
− | Returns the device | + | <syntaxhighlight lang="lua"> |
− | |||
− | < | ||
(number), (number), (number) = Gyroscope:getRotationRate() | (number), (number), (number) = Gyroscope:getRotationRate() | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | ''' | + | === Return values === |
− | ''' | + | '''Returns''' (number) rate of rotation around x<br/> |
− | ''' | + | '''Returns''' (number) rate of rotation around y<br/> |
+ | '''Returns''' (number) rate of rotation around z<br/> | ||
+ | |||
+ | {{Gyroscope}} |
Latest revision as of 17:43, 12 January 2025
Available since: Gideros 2012.8
Class: Gyroscope
Description
Returns the device 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