Difference between revisions of "Screen:setContent"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2017.8<br/>
 
'''Available since:''' Gideros 2017.8<br/>
 +
'''Class:''' [[Screen]]<br/>
 +
 
=== Description ===
 
=== Description ===
Specify which sprite should be displayed by this Screen
+
Specifies which sprite should be displayed by the screen.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Screen:setContent(content)
+
Screen:setContent(content)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''content''': (sprite) The sprite hierarchy to be displayed by this Screen <br/>
+
'''content''': (sprite) the sprite hierarchy to be displayed by the screen<br/>
 +
 
 +
{{Screen}}

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2017.8
Class: Screen

Description

Specifies which sprite should be displayed by the screen.

Screen:setContent(content)

Parameters

content: (sprite) the sprite hierarchy to be displayed by the screen