Difference between revisions of "AreaSpreadDistribution"

m (Updated for 0.10.2)
(Link to set/getEmissionArea instead of set/getAreaSpread)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
{{New feature|0.10.2|
 
{{New feature|0.10.2|
 
;ellipse: Uniform distribution in an ellipse.
 
;ellipse: Uniform distribution in an ellipse.
 +
}}
 +
{{New feature|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.
 
;none: No distribution - area spread is disabled.
 
== 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