ParticleSystem.Particle.GetMeshIndex

Switch to Manual

Declaration

public int GetMeshIndex(ParticleSystem system);

Parameters

system The 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.


Did you find this page useful? Please give it a rating: