Difference between revisions of "Accelerometer:getAcceleration"

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 3-axis acceleration measured by the accelerometer.<br />
 
Returns the 3-axis acceleration measured by the accelerometer.<br />
Line 8: Line 8:
 
(number), (number), (number) = Accelerometer:getAcceleration()
 
(number), (number), (number) = Accelerometer:getAcceleration()
 
</source>
 
</source>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>acceleration on x-axis in G's</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>acceleration on x-axis in G's</translate><br/>
'''Returns''' (number) <translate>acceleration on y-axis in G's</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>acceleration on y-axis in G's</translate><br/>
'''Returns''' (number) <translate>acceleration on z-axis in G's</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>acceleration on z-axis in G's</translate><br/>

Revision as of 07:28, 24 August 2018

Available since: Gideros 2012.8

Description


Returns the 3-axis acceleration measured by the accelerometer.

(number), (number), (number) = Accelerometer:getAcceleration()

Return values

Returns (number) acceleration on x-axis in G's
Returns (number) acceleration on y-axis in G's
Returns (number) acceleration on z-axis in G's