DeleteMarkedParticles

Declaration: TParticles.DeleteMarkedParticles: integer;
The function DeleteMarkedParticles deletes all particles which have been previously marked for deletion by calling MarkForDeletion.

The function returns the number of remaining particles.

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