Function VisualServerSingleton.particlesSetAmount

Sets the number of particles to be drawn and allocates the memory for them. Equivalent to Particles.amount.

void particlesSetAmount (
  const(RID) particles,
  const(long) amount
) nothrow @nogc;