Difference between revisions of "B2.getScale"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<languages /> | <languages /> | ||
− | ''' | + | '''Available since:''' Gideros 2011.6<br/> |
− | ''' | + | '''Class:''' [[Special:MyLanguage/b2|b2]]<br/> |
− | === | + | |
− | + | === Description === | |
− | Returns the global pixels to meters scale (Please refer to [[b2.setScale]] function for more information about pixels to meters scaling). | + | Returns the global pixels to meters scale. |
− | + | ||
+ | (Please refer to [[b2.setScale]] function for more information about pixels to meters scaling). | ||
<source lang="lua"> | <source lang="lua"> | ||
(number) = b2.getScale() | (number) = b2.getScale() | ||
</source> | </source> | ||
− | === | + | |
− | ''' | + | === Return values === |
+ | '''Returns''' (number) the global pixels to meters scale<br/> | ||
+ | |||
+ | {{B2}} |
Revision as of 05:03, 17 February 2020
Available since: Gideros 2011.6
Class: b2
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