Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseScript interface for the Shape module.
See Also: ParticleSystem, ParticleSystem.shape.
angle | Angle of the cone. |
arc | Circle arc angle. |
box | Scale of the box. |
enabled | Enable/disable the Shape module. |
length | Length of the cone. |
mesh | Mesh to emit particles from. |
meshMaterialIndex | Emit particles from a single material of a mesh. |
meshRenderer | MeshRenderer to emit particles from. |
meshShapeType | Where on the mesh to emit particles from. |
normalOffset | Move particles away from the surface of the source mesh. |
radius | Radius of the shape. |
randomDirection | Randomizes the starting direction of particles. |
shapeType | Type of shape to emit particles from. |
skinnedMeshRenderer | SkinnedMeshRenderer to emit particles from. |
useMeshColors | Modulate the particle colours with the vertex colors, or the material color if no vertex colors exist. |
useMeshMaterialIndex | Emit from a single material, or the whole mesh. |