Difference between revisions of "Matrix:getScale"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === get scale from matrix transformation <source lang="lua"> (number) (number) (number), = Matrix:getScal...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 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 ===
get scale from matrix transformation
+
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>
'''Returns''' (number) scale on x axis<br/>
+
 
'''Returns''' (number) scale on y axis<br/>
+
=== Return values ===
'''Returns''' (number) scale on z axis<br/>
+
'''Returns''' (number) scale on X axis<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