CPUParticles2D.EmissionShape

Values

ValueMeaning
emissionShapePoint0

All particles will be emitted from a single point.

emissionShapeSphere1

Particles will be emitted on the surface of a sphere flattened to two dimensions.

emissionShapeRectangle2

Particles will be emitted in the area of a rectangle.

emissionShapePoints3

Particles will be emitted at a position chosen randomly among emissionPoints. Particle color will be modulated by emissionColors.

emissionShapeDirectedPoints4

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.

emissionShapeMax5

Represents the size of the emissionshape enum.

Meta