Particle Emitters
Particles are the basic visual elements of any effect and are spawned by emitters. The following properties of emitters and particles can be adjusted in the property panel to create the desired effect.
General
Property | Description |
---|---|
Lifetime | Time period during which the emitter is active and spawns particles. After the time expires, the emitter stops producing particles. If Repeat is activated, the emitter starts again after the specified duration. This is useful for emitters that should repeat their behavior after a certain amount of time. |
Type | In what kind of area particles are spawned (Point, Line, Circle, Rectangle or Path). |
Width | The horizontal extent of the emitter area. |
Height | The vertical extent of the emitter area. |
Orientation | The orientation of the emitter area in degrees. |
Particle Distribution | Where particles are spawned inside the emitter area. Uniform: Particles are spawned uniformly inside the emitter area. Centered: Particles are created mostly around the center and less at the boundary. Near Boundary: More particles spawn near the shape boundary and less in the center. On Boundary: Particles are created only on the shape boundary. |
Particle Lifespan | Lifespan of particles produced by the emitter. You can also specify a variation for this parameter, so that individual particles have different lifespans. |
Number of Particles | How many particles are created by the emitter. If the spawn mode is set to Continuous, the emitter continuously spawns the given amount of particles per second. If the mode is set to Burst, the emitter instantiates all particles immediately after being created. A third option Spawn on Death is available in case the emitter is a sub-emitter. Using this option, particles are spawned only when particles of the parent emitter die. |
Direction | The direction in which particles move when spawned, in degrees. The default mode is Fixed, causing particles to shoot off in a common direction. If you select Outwards, particles move away from the emitter. If you select Inwards, particles move towards the emitter's center. |
Spread | How much the direction varies. A spread of 0° means that particles only move in the specified direction, while 360° leads to particles shooting off in all directions. |
Visual
Property | Description |
---|---|
Material | Defines what material particles use for rendering. The default material applies a texture to the particle, blending it with the given particle color. If you want to customize the appearance of particles beyond switching textures and changing colors, open the shader graph editor by clicking |
Renderer | Which renderer is used for drawing the particles. The Sprite Renderer draws each particle as a separate sprite. The Trail Renderer generates continuous trails along the path of particles with the same parent particle. |
Blend Mode | How the particles are blended together and composed with other objects in the effect. |
Layer | Layer the particles are drawn on. Particles on upper layers occlude those on lower layers. |
Color | The color of each particle over its lifetime, displayed as a color gradient. Double-click or right-click the color bar to add another color. Double-clicking a color mark lets you choose its color, right-clicking removes it. To change the position of color marks, drag them using the mouse. To create particles with more random colors use the variance parameters for hue, saturation and value. |
Initial Opacity | The initial opacity of each particle. |
Opacity | Opacity of each particle over its lifetime as a fraction of its initial opacity. |
Initial Particle Size | The initial size of each particle. |
Particle Size | The size of each particle over its lifetime as a fraction of its initial size. |
Particle Width | The width of each particle over its lifetime as a fraction of its size. |
Particle Height | The height of each particle over its lifetime as a fraction of its size. |
Motion
Property | Description |
---|---|
Position | The position of the emitter. This option allows you to specify a motion path the emitter traverses during its lifetime. It is shown in the effect preview if the property is selected. |
Particle Position | Motion path for particles, which all particles of the emitter follow. You can specify how much particles are influenced by the path with the Influence parameter varying from 0% (particles do not follow the path) to 100% (particles follow the path exactly). If Attached to Emitter is selected, the position of particles is tied directly to the position of their emitter. |
Initial Velocity | How fast each particle is initially after being spawned by the emitter. |
Acceleration | Linear acceleration applied to each particle over its lifetime. Positive values speed up particles, while negative values slow them down. |
Radial Acceleration | Acceleration of each particle towards the emitter over its lifetime. If you select negative values here, particles are repelled from the emitter. |
Damping | Damping applied to each particle over its lifetime. Lower values result in more damping. |
Initial Rotation | The initial rotation of each particle in degrees. |
Rotation | How particles rotate over time from their initial rotation. There are four possible modes: Angle: Set rotation angle of each particle over its lifetime. Angular Velocity: Set angular velocity of each particle over its lifetime. Align With Direction: Rotate each particle according to its direction vector. This is useful if you want particles to align with their movement. Align With Path: If particles move on a motion path, align each particle's rotation with the path. |
Pivot | The center of rotation, relative to the particle's center. |
Physics
Property | Description |
---|---|
Particle Weight | How strongly particles are affected by force fields. |
Particle Bounce | How much particles bounce back from colliders. |
Particle Friction | How resistant particles are to sliding down colliders. |