Version: 2019.4
public int GetMeshIndex (ParticleSystem system);

パラメーター

systemThe Particle System from which this particle was emitted.

戻り値

int The index of the mesh used for rendering the particle.

説明

Calculate the Mesh index of the particle, used for choosing which Mesh a particle is rendered with.