Index (Particle)

Description

Returns the index of the particle in the particle collection as a Long. A particle's index can change throughout a simulation when particles are added or removed from the cloud.

Particles are also assigned IDs, which remain unique throughout the simulation. The particle index is the position of the particle within the collection of particles. As particles die, indices are reused. The particle's ID is guaranteed to be unique throughout the lifetime of the cloud whereas the particle indices are reused many times.

C# Syntax

    // get accessor
    Int32 rtn = Particle.Index;

See Also

Particle.ID

Autodesk Softimage v7.5