part_emitter_clear(ps, ind);
Argument | Description |
---|---|
ps | The particle system that the emitter is in. |
ind | The index of the emitter to clear. |
Returns: N/A
With this function you can clear the given emitter from the
specified particle system back to its default state. This will also
stop any particles that are being streamed from the emitter at the
time, and if you wish to use the emitter again you will need to set
the region position and particle type using the part_emitter_region
function.
part_emitter_clear(Sname, p_emit1 );
The above code will clear the particle emitter indexed in the variable "p_emit1".