Click or drag to resize
DigitalRuneParticleSystemAddParticles Method (Int32)
Creates a number of new particles.

Namespace: DigitalRune.Particles
Assembly: DigitalRune.Particles (in DigitalRune.Particles.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public int AddParticles(
	int numberOfNewParticles
)

Parameters

numberOfNewParticles
Type: SystemInt32
The number of particles to create.

Return Value

Type: Int32
The number of actually created particles. This number will be less than numberOfNewParticles if the total number of particles in the particle system would exceed MaxNumberOfParticles.
Remarks

The "NormalizedAge" of new particles is set to 0. The particle system will automatically call InitializeParticles(Int32, Int32, Object) of all effectors to initialize other particle parameters.

See Also