Difference between revisions of "Matrix:getScale"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.06<br/>
+
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>get scale from matrix transformation</translate>
 
<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 ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>scale on x axis</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>scale on x axis</translate><br/>
'''Returns''' (number) <translate>scale on y axis</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>scale on y axis</translate><br/>
'''Returns''' (number) <translate>scale on z axis</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>scale on z axis</translate><br/>

Revision as of 07:27, 24 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