Difference between revisions of "Sprite:getMatrix"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the transformation matrix of the sprite. Each invocation of this function returns a new...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(Matrix), = Sprite:getMatrix()
+
(Matrix) = Sprite:getMatrix()
 
</source>
 
</source>
 
'''Returns''' (Matrix) The transformation matrix of the sprite<br/>
 
'''Returns''' (Matrix) The transformation matrix of the sprite<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the transformation matrix of the sprite. Each invocation of this function returns a new `Matrix` object.

(Matrix) = Sprite:getMatrix()

Returns (Matrix) The transformation matrix of the sprite