Viewport:setProjection: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Specify a projection matrix to use when displaying the content. Useful for rendering 3D worlds where..." |
No edit summary |
||
| Line 4: | Line 4: | ||
Specify a projection matrix to use when displaying the content. Useful for rendering 3D worlds where units are not related to screen dimensions, and where a perspective must be applied. | Specify a projection matrix to use when displaying the content. Useful for rendering 3D worlds where units are not related to screen dimensions, and where a perspective must be applied. | ||
<source lang="lua"> | <source lang="lua"> | ||
Viewport:setProjection(matrix) | |||
</source> | </source> | ||
'''matrix | '''matrix''': (Matrix) Matrix to transform viewport ''''''<br/> | ||
Revision as of 09:21, 23 August 2018
Available since: Gideros 2016.06
Description
Specify a projection matrix to use when displaying the content. Useful for rendering 3D worlds where units are not related to screen dimensions, and where a perspective must be applied.
Viewport:setProjection(matrix)
'matrix: (Matrix) Matrix to transform viewport '