Difference between revisions of "B2.getScale"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Special:MyLanguage/b2|b2]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Returns the global pixels to meters scale.
Returns the global pixels to meters scale (Please refer to [[b2.setScale]] function for more information about pixels to meters scaling).<br />
+
 
<br />
+
(Please refer to [[b2.setScale]] function for more information about pixels to meters scaling).
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = b2.getScale()
 
(number) = b2.getScale()
</source>
+
</syntaxhighlight>
'''Returns''' (number) The global pixels to meters scale<br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (number) the global pixels to meters scale<br/>
 +
 
 +
{{B2}}

Latest revision as of 14:26, 13 July 2023