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 Shape module.
Configures the initial positions and directions of particles.
See Also: 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 used for generating 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 radius of the Donut shape to emit particles from. |
enabled | Enable/disable the Shape module. |
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 used for generating 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 particles are emitted. |
radius | Radius of the shape to emit particles from. |
radiusMode | The mode used for generating 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 particles are emitted. |
scale | Apply scale to the shape from which particles are emitted. |
shapeType | 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 | Selects a texture to be used for tinting particle start colors. |
textureAlphaAffectsParticles | When enabled, the alpha channel of the texture is applied to the particle alpha when spawned. |
textureBilinearFiltering | When enabled, 4 neighboring samples are taken from the texture, and combined to give the final particle value. |
textureClipChannel | Selects which channel of the texture is used for discarding particles. |
textureClipThreshold | Discards particles when they are spawned on an area of the texture with a value lower than this threshold. |
textureColorAffectsParticles | When enabled, the RGB channels of the texture are applied to the particle color when spawned. |
textureUVChannel | When using a Mesh as a source shape type, this option controls which UV channel on the Mesh is used 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:
Thanks for helping to make the Unity documentation better!