Sprite:getDrawCount: Difference between revisions

From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight"
m Text replacement - "</source>" to "</syntaxhighlight>"
 
Line 7: Line 7:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
(number) = Sprite:getDrawCount()
(number) = Sprite:getDrawCount()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Latest revision as of 13:33, 13 July 2023

Available since: Gideros 2020.7.1
Class: Sprite

Description

Returns the number of Sprites actually drawn each frame on this subtree.

(number) = Sprite:getDrawCount()

Return values

Returns (number) the number of Sprite drawn