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.