Difference between revisions of "B2.getScale"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Returns the global pixels to meters scale (Please refer to [[b2.setScale]] function for more information about pixels to meters scaling).<br />
 
Returns the global pixels to meters scale (Please refer to [[b2.setScale]] function for more information about pixels to meters scaling).<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = b2.getScale()
 
(number) = b2.getScale()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) The global pixels to meters scale<br/>
+
'''Returns''' (number) <translate>The global pixels to meters scale</translate><br/>

Revision as of 13:32, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the global pixels to meters scale (Please refer to b2.setScale function for more information about pixels to meters scaling).

(number) = b2.getScale()

Return values

Returns (number) The global pixels to meters scale