public void SetParticles (out Particle[] particles);
public void SetParticles (out Particle[] particles, int size);
public void SetParticles (out Particle[] particles, int size, int offset);

Parameters

particles输入粒子缓冲区,其中包含所需的粒子状态。
size粒子数组中写入粒子系统的元素数。
offsetThe offset into the destination particle list, to assign these particles.

Description

Sets the particles of this Particle System.

将粒子的生命周期设置为负值将导致从粒子系统中删除该粒子。 另请参阅:GetParticles