part_emitter_clear(ps, ind);
参数 | 描述 |
---|---|
ps | 发射器所处的粒子系统。 |
ind | 要清空的发射器索引。 |
返回: 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 );
上述代码将会清空索引为变量“p_emit1”的粒子发射器。