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 | + | 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 | + | {{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 | + | {{#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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info