Difference between revisions of "Viewport:setTransform"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Viewport:setTransform(transform) | Viewport:setTransform(transform) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === |
Latest revision as of 16:12, 20 February 2024
Available since: Gideros 2016.04
Class: Viewport
Description
Specifies 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