Difference between revisions of "Viewport:setContent"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Viewport:setContent(content) | Viewport:setContent(content) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === |
Latest revision as of 16:11, 20 February 2024
Available since: Gideros 2016.04
Class: Viewport
Description
Specifies which sprite should be displayed by this Viewport.
Viewport:setContent(content)
Parameters
content: (sprite) the sprite hierarchy to be displayed by this Viewport