Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
NonUniformRandom = 1

Remarks

To specify the weights, use ParticleSystemRenderer.SetMeshWeightings.