Difference between revisions of "AreaSpreadDistribution"

(Created page)
 
m (0.11.0 -> 11.0)
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
;uniform: Uniform distribution.
 
;uniform: Uniform distribution.
 
;normal: Normal (gaussian) distribution.
 
;normal: Normal (gaussian) distribution.
 +
{{New feature|0.10.2|
 +
;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 ==

Revision as of 15:39, 22 December 2018

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