Viewport:setProjection

From GiderosMobile
Revision as of 11:46, 23 August 2018 by Hgy29 (talk | contribs)

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)

Parameters

matrix: (Matrix) Matrix to transform viewport