The function CountMarkedParticles returns the number of particles which are marked. The type of marking is defined by the parameter mask, which may assume the values FLAG_MARKFORDEL and/or FLAG_MARKASDONE.
Please note that the mark state is controlled by the following properties and methods: MarkForDeletion, MarkedAsDone, SetAllDelMarks and SetAllDoneMarks.
|