Sprite:getDrawCount: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(One intermediate revision by the same user not shown)
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>
</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