Declaration: TParticles.DeleteClass (ClsIx: integer): integer;
The function DeleteClass deletes the particle class specified by the parameter ClsIx (valid range 1..NClasses).

The function returns the following error codes:

>0 ... everything is OK
-1 ... the specified class number does not exist

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