Difference between revisions of "Matrix:getScale"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
+
'''Available since:''' Gideros 2016.06<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Matrix]]<br/>
<translate>get scale from matrix transformation</translate>
+
 
<source lang="lua">
+
=== Description ===
 +
Gets the scale from the matrix transformation.
 +
<syntaxhighlight lang="lua">
 
(number), (number), (number) = Matrix:getScale()
 
(number), (number), (number) = Matrix:getScale()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>scale on x axis</translate><br/>
+
=== Return values ===
'''<translate>Returns</translate>''' (number) <translate>scale on y axis</translate><br/>
+
'''Returns''' (number) scale on X axis<br/>
'''<translate>Returns</translate>''' (number) <translate>scale on z axis</translate><br/>
+
'''Returns''' (number) scale on Y axis<br/>
 +
'''Returns''' (number) scale on Z axis<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:30, 13 July 2023