Sprite:getMatrix: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 4: Line 4:
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate><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 [[Special:MyLanguage/Matrix|Matrix]] object.<br />
<br /></translate>
<br /></translate>
<source lang="lua">
<source lang="lua">

Revision as of 08:35, 24 August 2018

Available since: Gideros 2011.6
Class: Sprite

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