Difference between revisions of "Viewport:setTransform"

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

Revision as of 01:43, 24 December 2020

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