Script 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. |