Stage: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 5: Line 5:
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Inherits from</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
'''<translate>Inherits from</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate><br />
The [[Special:MyLanguage/Stage|Stage]] class represents the top of the scene tree hierarchy. The instances of [[Special:MyLanguage/Stage|Stage]] is not created directly (there is not any ''Stage.new'' function) but there is already a global variable ''stage''.
<br />
 
The [[Special:MyLanguage/Stage|Stage]] class represents the top of the scene tree hierarchy. The instances of [[Special:MyLanguage/Stage|Stage]] is not created directly (there is not any ''Stage.new'' function) but<br />
there is already a global variable ''stage''.<br />
<br /></translate>
{|-
{|-
| style="width: 50%; vertical-align:top;"|
| style="width: 50%; vertical-align:top;"|
=== <translate>Methods</translate> ===
=== <translate>Methods</translate> ===
[[Special:MyLanguage/Stage:setClearColorBuffer|Stage:setClearColorBuffer]] ''<translate>Enable/disable draw call for background color</translate>''<br/><!-- GIDEROSMTD:Stage:setClearColorBuffer(state) Enable/disable draw call for background color -->
[[Special:MyLanguage/Stage:setClearColorBuffer|Stage:setClearColorBuffer]] ''<translate>Enable/disable draw call for background color</translate>''<br/><!-- GIDEROSMTD:Stage:setClearColorBuffer(state) Enable/disable draw call for background color -->
| style="width: 50%; vertical-align:top;"|
| style="width: 50%; vertical-align:top;"|
=== <translate>Events</translate> ===
=== <translate>Events</translate> ===
=== <translate>Constants</translate> ===
=== <translate>Constants</translate> ===
|}
|}
{{Stage}}

Revision as of 23:12, 9 December 2019


Supported platforms:
Available since: Gideros 2011.6
Inherits from: Sprite

Description

The Stage class represents the top of the scene tree hierarchy. The instances of Stage is not created directly (there is not any Stage.new function) but there is already a global variable stage.

Methods

Stage:setClearColorBuffer Enable/disable draw call for background color

Events

Constants