Difference between revisions of "Sprite:getMatrix"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
Returns the transformation matrix of the sprite. Each invocation of this function returns a new `Matrix` object.<br />
+
Returns the transformation matrix of the sprite. Each invocation of this function returns a new [[[Matrix]]] object.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(Matrix) = Sprite:getMatrix()
 
(Matrix) = Sprite:getMatrix()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (Matrix) The transformation matrix of the sprite<br/>
+
'''Returns''' (Matrix) <translate>The transformation matrix of the sprite</translate><br/>

Revision as of 14:38, 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()

Return values

Returns (Matrix) The transformation matrix of the sprite