Difference between revisions of "Viewport:setContent"
From GiderosMobile
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Specifies which sprite should be displayed by this Viewport. | Specifies which sprite should be displayed by this Viewport. | ||
− | < | + | <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