Difference between revisions of "Sprite:getDrawCount"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the number of Sprites actually drawn each frame on this subtree.
 
Returns the number of Sprites actually drawn each frame on this subtree.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Sprite:getDrawCount()
 
(number) = Sprite:getDrawCount()
 
</source>
 
</source>

Revision as of 15:31, 13 July 2023

Available since: Gideros 2020.7.1
Class: Sprite

Description

Returns the number of Sprites actually drawn each frame on this subtree. <syntaxhighlight lang="lua"> (number) = Sprite:getDrawCount() </source>

Return values

Returns (number) the number of Sprite drawn