Difference between revisions of "Gyroscope:getRotationRate"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.8<br/> === Description === <br /> Returns the device's rate of rotation around three axes in radians per second.<br /> <br /...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number) (number) (number), = Gyroscope:getRotationRate()
+
(number), (number), (number) = Gyroscope:getRotationRate()
 
</source>
 
</source>
 
'''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:20, 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()

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