Difference between revisions of "Viewport:setTransform"

From GiderosMobile
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2016.04<br/>
+
'''Available since:''' Gideros 2016.04<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Viewport]]<br/>
<translate>Specify a matrix by which the content will be transformed before being displayed.</translate>
+
 
<source lang="lua">
+
=== Description ===
Viewport:setTransform(transform)
+
Specifies a matrix by which the content will be transformed before being displayed.
</source>
+
<syntaxhighlight lang="lua">
=== <translate>Parameters</translate> ===
+
Viewport:setTransform(transform)
'''transform''': (Matrix) <translate>A Matrix object which will be applied to the content before display</translate> <br/>
+
</syntaxhighlight>
 +
 
 +
=== Parameters ===
 +
'''transform''': (Matrix) a Matrix object which will be applied to the content before display<br/>
 +
 
 +
{{Viewport}}

Latest revision as of 17: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