CPUParticles2D.EmissionShape/emissionShape - multiple declarations
Function CPUParticles2D.emissionShape
Particles will be emitted inside this region. See emissionshape
for possible values.
CPUParticles2D . EmissionShape emissionShape() nothrow @property @nogc;
void emissionShape
(
long v
) nothrow @property @nogc;
Enum CPUParticles2D.EmissionShape
enum EmissionShape
: int { ... }
Enum members
Name | Description |
---|---|
emissionShapeDirectedPoints
|
Particles will be emitted at a position chosen randomly among emissionPoints . Particle velocity and rotation will be set based on emissionNormals . Particle color will be modulated by emissionColors .
|
emissionShapeMax
|
Represents the size of the emissionshape enum.
|
emissionShapePoint
|
All particles will be emitted from a single point. |
emissionShapePoints
|
Particles will be emitted at a position chosen randomly among emissionPoints . Particle color will be modulated by emissionColors .
|
emissionShapeRectangle
|
Particles will be emitted in the area of a rectangle. |
emissionShapeSphere
|
Particles will be emitted on the surface of a sphere flattened to two dimensions. |