Difference between revisions of "Viewport:setContent"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
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) | ||
</source> | </source> |
Revision as of 14:32, 13 July 2023
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