Difference between revisions of "ParticleSystem:getSizes"

(Created page with "{{newin|0.9.0|090|type=function}} Gets the series of sizes by which the sprite is scaled. 1.0 is normal size. The particle system will interpolate between each size evenly ov...")
 
m (Synopsis: s/set/get/)
 
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
size1, size1, ..., size8 = ParticleSystem:setSizes( )
+
size1, size1, ..., size8 = ParticleSystem:getSizes( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Latest revision as of 05:01, 1 September 2014

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

Gets the series of sizes by which the sprite is scaled. 1.0 is normal size. The particle system will interpolate between each size evenly over the particle's lifetime.

Function

Synopsis

size1, size1, ..., size8 = ParticleSystem:getSizes( )

Arguments

Nothing.

Returns

number size1
The first size.
number size2
The second size.
number size8
The eighth size.

See Also

Other Languages