GetNextEmptyPartID

Declaration: TParticles.GetNextEmptyPartID: integer;
The function GetNextEmptyPartID returns the lowest available unique particle identifier. This routine is for debugging purposes only.

Hint: In order to access the particles currently loaded in the particle editor you can use the pre-declared global variable PEData.