Viewport:setTransform: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 5: Line 5:
=== Description ===
=== Description ===
Specifies a matrix by which the content will be transformed before being displayed.
Specifies a matrix by which the content will be transformed before being displayed.
<source lang="lua">
<syntaxhighlight lang="lua">
Viewport:setTransform(transform)
Viewport:setTransform(transform)
</source>
</source>

Revision as of 13:32, 13 July 2023

Available since: Gideros 2016.04
Class: Viewport

Description

Specifies a matrix by which the content will be transformed before being displayed. <syntaxhighlight lang="lua"> Viewport:setTransform(transform) </source>

Parameters

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