Function CPUParticles2D.setOneShot

void setOneShot (
  const(bool) enable
) nothrow @nogc;