Difference between revisions of "Viewport:setContent"

From GiderosMobile
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2016.04<br/>
+
'''Available since:''' Gideros 2016.04<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Viewport|Viewport]]<br/>
+
'''Class:''' [[Viewport]]<br/>
=== <translate>Description</translate> ===
+
 
<translate>Specify which sprite should be displayed by this Viewport</translate>
+
=== Description ===
<source lang="lua">
+
Specifies which sprite should be displayed by this Viewport.
Viewport:setContent(content)
+
<syntaxhighlight lang="lua">
</source>
+
Viewport:setContent(content)
=== <translate>Parameters</translate> ===
+
</syntaxhighlight>
'''content''': (sprite) <translate>The sprite hierarchy to be displayed by this Viewport</translate> <br/>
+
 
 +
=== 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