Function CPUParticles2D.oneShot

If true, only one emission cycle occurs. If set true during a cycle, emission will stop at the cycle's end.

bool oneShot() nothrow @property @nogc;

void oneShot (
  bool v
) nothrow @property @nogc;