ParticleSystemMeshDistribution
Sets which method Unity uses to randomly assign Meshes to particles.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public enum ParticleSystemMeshDistribution
Remarks
The ParticleSystemRenderer uses this to determine how often to randomly select each Mesh.
Fields
Value | Description |
|---|---|
| NonUniformRandom | Use per-Mesh weights to make some Meshes appear more often than others. A higher weight value increases the chance of choosing the associated Mesh. |
| UniformRandom | Use a uniform random value to give each Mesh an equal chance to appear. |