Viewport:setTransform: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2016.04<br/> | |||
''' | '''Class:''' [[Viewport]]<br/> | ||
''' | |||
=== | === Description === | ||
Specifies a matrix by which the content will be transformed before being displayed. | |||
<source lang="lua"> | <source lang="lua"> | ||
Viewport:setTransform(transform) | |||
</source> | </source> | ||
=== | |||
'''transform''': (Matrix) | === Parameters === | ||
'''transform''': (Matrix) a Matrix object which will be applied to the content before display<br/> | |||
{{Viewport}} | {{Viewport}} | ||
Revision as of 00: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