Difference between revisions of "ParticleSystem:getEmissionRate"

(Created page with "Gets the amount of particles emitted per second. == Function == === Synopsis === <source lang="lua"> rate = ParticleSystem:setEmissionRate( ) </source> === Arguments === Nothing....")
 
m (Synopsis: s/set/get/)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{newin|[[0.9.0]]|090|type=function}}
 
Gets the amount of particles emitted per second.
 
Gets the amount of particles emitted per second.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
rate = ParticleSystem:setEmissionRate( )
+
rate = ParticleSystem:getEmissionRate( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Latest revision as of 04:54, 1 September 2014

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

Gets the amount of particles emitted per second.

Function

Synopsis

rate = ParticleSystem:getEmissionRate( )

Arguments

Nothing.

Returns

number rate
The amount of particles per second.

See Also


Other Languages