GetMeshIndex(ParticleSystem)
Calculate the Mesh index of the particle, used for choosing which Mesh a particle is rendered with.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public int GetMeshIndex(ParticleSystem system)
Parameters
The Particle System from which this particle was emitted.
Returns
Type | Description |
|---|---|
| int | The index of the mesh used for rendering the particle. |