Viewport

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

Supported platforms:
Available since: Gideros 2016.04

Description

A Viewport sprite allows to display another view of a tree hierarchy already on stage. Sprites can't have two parents, but thanks to Viewport you can display the same Sprite twice on the stage. Useful for split screen games, mini maps and so on.




Methods

Viewport:lookAngles -
Viewport:lookAt -
Viewport:setContent -
Viewport:setProjection - Specify a projection matrix to use when displaying the content.
Viewport:setTransform -

Events

Constants