Difference between revisions of "AreaSpreadDistribution"

(Updated for 0.11.0)
(Link to set/getEmissionArea instead of set/getAreaSpread)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
;ellipse: Uniform distribution in an ellipse.
 
;ellipse: Uniform distribution in an ellipse.
 
}}
 
}}
{{New feature|0.11.0|
+
{{New feature|11.0|
 
;borderellipse: Distribution in an ellipse with particles spawning at the edges of the ellipse.
 
;borderellipse: Distribution in an ellipse with particles spawning at the edges of the ellipse.
 
;borderrectangle: Distribution in a rectangle with particles spawning at the edges of the rectangle.
 
;borderrectangle: Distribution in a rectangle with particles spawning at the edges of the rectangle.
Line 14: Line 14:
 
== See Also ==
 
== See Also ==
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
* [[ParticleSystem:setAreaSpread]]
+
* [[ParticleSystem:setEmissionArea]]
* [[ParticleSystem:getAreaSpread]]
+
* [[ParticleSystem:getEmissionArea]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Types of particle area spread distribution.}}
 
{{#set:Description=Types of particle area spread distribution.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|AreaSpreadDistribution}}
 
{{i18n|AreaSpreadDistribution}}

Latest revision as of 22:16, 28 February 2022

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

Types of particle area spread distribution.

Constants

uniform
Uniform distribution.
normal
Normal (gaussian) distribution.
Available since LÖVE 0.10.2
ellipse
Uniform distribution in an ellipse.


Available since LÖVE 11.0
borderellipse
Distribution in an ellipse with particles spawning at the edges of the ellipse.
borderrectangle
Distribution in a rectangle with particles spawning at the edges of the rectangle.
none
No distribution - area spread is disabled.

See Also

Other Languages