Difference between revisions of "Matrix:getScale"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
get scale from matrix transformation
+
<translate>get scale from matrix transformation</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number), (number) = Matrix:getScale()
 
(number), (number), (number) = Matrix:getScale()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) scale on x axis<br/>
+
'''Returns''' (number) <translate>scale on x axis</translate><br/>
'''Returns''' (number) scale on y axis<br/>
+
'''Returns''' (number) <translate>scale on y axis</translate><br/>
'''Returns''' (number) scale on z axis<br/>
+
'''Returns''' (number) <translate>scale on z axis</translate><br/>

Revision as of 13:38, 23 August 2018

Available since: Gideros 2016.06

Description

get scale from matrix transformation

(number), (number), (number) = Matrix:getScale()

Return values

Returns (number) scale on x axis
Returns (number) scale on y axis
Returns (number) scale on z axis