Difference between revisions of "ParticleSystem:getCount"

(Created page)
 
m (Added ParticleSystem:getBufferSize as a see-also)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[ParticleSystem:count]]}}
 
{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[ParticleSystem:count]]}}
 
+
Gets the number of particles that are currently in the system.
Gets the amount of particles that are currently in the system.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 +
* [[ParticleSystem:getBufferSize]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the amount of particles that are currently in the system.}}
+
{{#set:Description=Gets the number of particles that are currently in the system.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ParticleSystem:getCount}}
 
{{i18n|ParticleSystem:getCount}}

Latest revision as of 15:53, 8 October 2013

Available since LÖVE 0.9.0
It has been renamed from ParticleSystem:count.

Gets the number of particles that are currently in the system.

Function

Synopsis

count = ParticleSystem:getCount( )

Arguments

None.

Returns

number count
The current number of live particles.

See Also

Other Languages