Difference between revisions of "SpriteBatch:getCount"

m
 
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}
 
{{newin|[[0.9.0]]|090|type=function}}
Gets the amount of sprites currently in the SpriteBatch.
+
Gets the number of sprites currently in the SpriteBatch.
 
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 10: Line 9:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|count|The amount of sprites currently in the batch.}}
+
{{param|number|count|The number of sprites currently in the batch.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::SpriteBatch]]
 
* [[parent::SpriteBatch]]
 
* [[SpriteBatch:getBufferSize]]
 
* [[SpriteBatch:getBufferSize]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the amount of sprites currently in the SpriteBatch.}}
+
{{#set:Description=Gets the number of sprites currently in the SpriteBatch.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|SpriteBatch:getCount}}
 
{{i18n|SpriteBatch:getCount}}

Latest revision as of 23:23, 4 September 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets the number of sprites currently in the SpriteBatch.

Function

Synopsis

count = SpriteBatch:getCount( )

Arguments

None.

Returns

number count
The number of sprites currently in the batch.

See Also

Other Languages