public int GetMeshIndex (ParticleSystem system);

Parameters

systemThe Particle System from which this particle was emitted.

Returns

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

Description

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