ParticleSystemMeshDistribution
Sets which method Unity uses to randomly assign Meshes to particles.
阅读时间1 分钟最后更新于 1 个月前
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. |