| ParticleSystemAddParticles Method (Int32) |
Creates a number of new particles.
Namespace: DigitalRune.ParticlesAssembly: DigitalRune.Particles (in DigitalRune.Particles.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public int AddParticles(
int numberOfNewParticles
)
Public Function AddParticles (
numberOfNewParticles As Integer
) As Integer
public:
int AddParticles(
int numberOfNewParticles
)
member AddParticles :
numberOfNewParticles : int -> int
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 See Also