Difference between revisions of "Matrix:getScale"

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

Latest revision as of 14:30, 13 July 2023