ドキュメント

Unity Engine

Unity Engine

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

NonUniformRandomUse per-Mesh weights to make some Meshes appear more often than others. A higher weight value increases the chance of choosing the associated Mesh.
UniformRandomUse a uniform random value to give each Mesh an equal chance to appear.