Difference between revisions of "Viewport:setContent"

From GiderosMobile
 
(7 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 ===
Specify which sprite should be displayed by this Viewport
+
Specifies which sprite should be displayed by this Viewport.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Viewport:setContent(content)
+
Viewport:setContent(content)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''content''': (sprite) The sprite hierarchy to be displayed by this Viewport <br/>
+
'''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