struct in UnityEngine
/
Implemented in:UnityEngine.ParticleSystemModule
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.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseScript interface for the ShapeModule.
Configures the initial positions and directions of particles.
Additional resources: ParticleSystem, ParticleSystem.shape.
alignToDirection | Align particles based on their initial direction of travel. |
angle | Angle of the cone to emit particles from. |
arc | Angle of the circle arc to emit particles from. |
arcMode | The mode that Unity uses to generate particles around the arc. |
arcSpeed | In animated modes, this determines how quickly the particle emission position moves around the arc. |
arcSpeedMultiplier | A multiplier of the arc speed of the particle emission shape. |
arcSpread | Control the gap between particle emission points around the arc. |
boxThickness | Thickness of the box to emit particles from. |
donutRadius | The thickness of the Donut shape to emit particles from. |
enabled | Specifies whether the ShapeModule is enabled or disabled. |
length | Length of the cone to emit particles from. |
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. |
meshSpawnMode | The mode to use to generate particles on a Mesh. |
meshSpawnSpeed | In animated modes, this determines how quickly the particle emission position moves across the Mesh. |
meshSpawnSpeedMultiplier | A multiplier of the Mesh spawn speed. |
meshSpawnSpread | Control the gap between particle emission points across the Mesh. |
normalOffset | Move particles away from the surface of the source Mesh. |
position | Apply an offset to the position from which the system emits particles. |
radius | Radius of the shape to emit particles from. |
radiusMode | The mode to use to generate particles along the radius. |
radiusSpeed | In animated modes, this determines how quickly the particle emission position moves along the radius. |
radiusSpeedMultiplier | A multiplier of the radius speed of the particle emission shape. |
radiusSpread | Control the gap between particle emission points along the radius. |
radiusThickness | Radius thickness of the shape's edge from which to emit particles. |
randomDirectionAmount | Randomizes the starting direction of particles. |
randomPositionAmount | Randomizes the starting position of particles. |
rotation | Apply a rotation to the shape from which the system emits particles. |
scale | Apply scale to the shape from which the system emits particles. |
shapeType | The type of shape to emit particles from. |
skinnedMeshRenderer | SkinnedMeshRenderer to emit particles from. |
sphericalDirectionAmount | Makes particles move in a spherical direction from their starting point. |
sprite | Sprite to emit particles from. |
spriteRenderer | SpriteRenderer to emit particles from. |
texture | Specifies a Texture to tint the particle's start colors. |
textureAlphaAffectsParticles | When enabled, the system applies the alpha channel of the Texture to the particle alpha when the particle spawns. |
textureBilinearFiltering | When enabled, the system takes four neighboring samples from the Texture then combines them to give the final particle value. |
textureClipChannel | Selects which channel of the Texture to use for discarding particles. |
textureClipThreshold | Discards particles when they spawn on an area of the Texture with a value lower than this threshold. |
textureColorAffectsParticles | When enabled, the system applies the RGB channels of the Texture to the particle color when the particle spawns. |
textureUVChannel | When using a Mesh as a source shape type, this option controls which UV channel on the Mesh to use for reading the source Texture. |
useMeshColors | Modulate the particle colors with the vertex colors, or the Material color if no vertex colors exist. |
useMeshMaterialIndex | Emit particles from a single Material, or the whole Mesh. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.