Difference between revisions of "Viewport:setContent"
From GiderosMobile
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2016.04<br/> | '''Available since:''' Gideros 2016.04<br/> | ||
+ | '''Class:''' [[Viewport]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Specifies which sprite should be displayed by this Viewport. | |
− | < | + | <syntaxhighlight lang="lua"> |
− | + | Viewport:setContent(content) | |
− | </ | + | </syntaxhighlight> |
− | '''content''': (sprite) | + | |
+ | === Parameters === | ||
+ | '''content''': (sprite) the sprite hierarchy to be displayed by this Viewport<br/> | ||
+ | |||
+ | {{Viewport}} |
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