Legacy Documentation: Version 5.4
Emission Module
Velocity Over Lifetime Module

Shape Module

This module defines the shape (the volume or surface) from which particles can be emitted, and the direction of the start velocity.

Properties

Property: Function:
Shape The shape of the emission volume. The options are Sphere, Hemisphere, Cone, Box, Mesh, MeshRenderer, Skinned MeshRenderer, Circle and Edge. For the Mesh shape, there is an extra menu to select whether particles are emitted from the vertices, triangles or edges of the mesh.
Angle The angle of the cone at its point (for Cone only). An angle of 0 produces a cylinder while an angle of 90 gives a flat disc.
Radius The radius of the circular aspect of the shape (for Sphere, Hemisphere, Cone, Circle and Edge only).
Length The length of the cone (for Cone only, when using one of the ‘volume’ emit-from modes.
Box X, Y, Z Width, height and depth of the box shape (for Box only).
Mesh The mesh that provides the emitter’s shape (for Mesh, MeshRenderer and Skinned Mesh Renderer only).
Emit from Shell Should particles be emitted from the outer surface rather than the inner volume of the shape? (For Sphere and Hemisphere only).
Emit from Selects the part of the cone to emit from: Base, Volume, Base Shell or Volume Shell (for Cone only).
Arc The angular portion of a full circle that forms the emitter’s shape (for Circle only).
Emit From Edge Should particles be emitted from the edge of the circle rather than the centre? (For Circle only.)
Single Material Should the particles be emitted from a particular sub-mesh (identified by the material index number). If enabled, a numeric field is shown allowing you to specify the material index number.
Use Mesh Colors Use, or disregard mesh colors.
Normal Offset Distance away from the surface of the mesh to emit particles (in the direction of the surface normal)
Random Direction When enabled, the particles’ initial direction will be chosen randomly.

Details

The emitter can be given any of a selection of shapes:

  • Sphere: Uniform emission in all directions.
  • Hemisphere: Uniform emission in all directions on one side of a plane.
  • Cone: Emission from the base or body of a cone. The particles diverge in proportion to their distance from the cone’s centre line.
  • Box: Emission from the body of a box shape. The particles move in the emitter object’s forward (Z) direction.
  • Mesh: Emission from any arbitrary mesh shape supplied via the inspector.
  • Mesh Renderer: Emission from a reference to a Game Object’s Mesh Renderer
  • Skinned Mesh Renderer: Emission from a reference to a Game Object’s Skinned Mesh Renderer
  • Circle: Uniform emission from the centre of edge of a circle. The particles move only in the plane of the circle.
  • Edge: Emission from a line segment. The particles move in the emitter object’s upward (Y) direction.

All the shapes except Mesh have properties that define their dimensions (eg, radius). These can be edited by dragging the handles on the wireframe emitter shape in the scene view. The choice of shape affects the region from which particles can be launched but also the initial direction of the particles. For example, a sphere throws particles outward in all directions, a cone produces a diverging stream of particles and a mesh emits particles in directions that are normal to the surface.

Mesh Shape Source

Skinned meshes can now be used as a source for a particle emitter. Additionally MeshRenderer types are supported.

It is possible to choose to emit only from a particular material (sub mesh), and to offset the emission position along the mesh’s normals. This option allows users to offset particles from the surface of a mesh.

Also, it is possible to ignore the color of the mesh.

Emission Module
Velocity Over Lifetime Module
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961