Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
rectangle
Particles will be emitted in the area of a rectangle.
CPUParticles2D.swift:116case rectangle
Other cases
case point
All particles will be emitted from a single point.
case sphere
Particles will be emitted in the volume of a sphere flattened to two dimensions.
case sphereSurface
Particles will be emitted on the surface of a sphere flattened to two dimensions.
case points
Particles will be emitted at a position chosen randomly among
emissionPoints
. Particle color will be modulated byemissionColors
.case directedPoints
Particles will be emitted at a position chosen randomly among
emissionPoints
. Particle velocity and rotation will be set based onemissionNormals
. Particle color will be modulated byemissionColors
.case max
Represents the size of the
EmissionShape
enum.