Viewport:setContent

From GiderosMobile
Revision as of 14:32, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2016.04
Class: Viewport

Description

Specifies which sprite should be displayed by this Viewport. <syntaxhighlight lang="lua"> Viewport:setContent(content) </source>

Parameters

content: (sprite) the sprite hierarchy to be displayed by this Viewport