Sprite:getMatrix: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
=== Description === | === Description === | ||
<translate><br /> | <translate><br /> | ||
Returns the transformation matrix of the sprite. Each invocation of this function returns a new | Returns the transformation matrix of the sprite. Each invocation of this function returns a new [[Matrix]] object.<br /> | ||
<br /></translate> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Revision as of 12:54, 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