Difference between revisions of "B2.getScale"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the global pixels to meters scale (Please refer to b2.setScale function for more in...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) | + | (number) = b2.getScale() |
</source> | </source> | ||
'''Returns''' (number) The global pixels to meters scale<br/> | '''Returns''' (number) The global pixels to meters scale<br/> |
Revision as of 10:16, 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()
Returns (number) The global pixels to meters scale