Viewport:setTransform: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2016.04<br/>
'''Available since:''' Gideros 2016.04<br/>
=== Description ===
=== Description ===
Specify a matrix by which the content will be transformed before being displayed.
<translate>Specify a matrix by which the content will be transformed before being displayed.</translate>
<source lang="lua">
<source lang="lua">
  Viewport:setTransform(transform)
  Viewport:setTransform(transform)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''transform''': (Matrix) A Matrix object which will be applied to the content before display <br/>
'''transform''': (Matrix) <translate>A Matrix object which will be applied to the content before display</translate> <br/>

Revision as of 12:33, 23 August 2018

Available since: Gideros 2016.04

Description

Specify a matrix by which the content will be transformed before being displayed.

 Viewport:setTransform(transform)

Parameters

transform: (Matrix) A Matrix object which will be applied to the content before display