Difference between revisions of "SpriteBatch:getCount"

(Created page)
 
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 amount of sprites currently in the SpriteBatch.
  
 
== Function ==
 
== Function ==
Line 15: Line 15:
 
* [[SpriteBatch:getBufferSize]]
 
* [[SpriteBatch:getBufferSize]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the amount of sprites currently in the [[SpriteBatch]].}}
+
{{#set:Description=Gets the amount of sprites currently in the SpriteBatch.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|SpriteBatch:getCount}}
 
{{i18n|SpriteBatch:getCount}}

Revision as of 08:46, 1 September 2013

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

Gets the amount of sprites currently in the SpriteBatch.

Function

Synopsis

count = SpriteBatch:getCount( )

Arguments

None.

Returns

number count
The amount of sprites currently in the batch.

See Also

Other Languages