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...")
 
Line 4: Line 4:
 
get scale from matrix transformation
 
get scale from matrix transformation
 
<source lang="lua">
 
<source lang="lua">
(number) (number) (number), = Matrix:getScale()
+
(number), (number), (number) = Matrix:getScale()
 
</source>
 
</source>
 
'''Returns''' (number) scale on x axis<br/>
 
'''Returns''' (number) scale on x axis<br/>
 
'''Returns''' (number) scale on y axis<br/>
 
'''Returns''' (number) scale on y axis<br/>
 
'''Returns''' (number) scale on z axis<br/>
 
'''Returns''' (number) scale on z axis<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2016.06

Description

get scale from matrix transformation

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

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