Difference between revisions of "Viewport:setContent"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2016.04<br/> | |
− | ''' | + | '''Class:''' [[Viewport]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Specifies which sprite should be displayed by this Viewport. | |
<source lang="lua"> | <source lang="lua"> | ||
− | + | Viewport:setContent(content) | |
</source> | </source> | ||
− | === | + | |
− | '''content''': (sprite) | + | === Parameters === |
+ | '''content''': (sprite) the sprite hierarchy to be displayed by this Viewport<br/> | ||
{{Viewport}} | {{Viewport}} |
Revision as of 01:46, 24 December 2020
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