collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++


[TCheckBoxFormControlObj]Visual Basic

Visual C++

DPSF API Documentation
..NumberOfParticlesEmitted Property

How many particles this emitter has added to the particle system.

NOTE: This value is not automatically updated by the emitter itself; it needs to be increased manually. This is because even though the emitter may say that it wants to emit 100 particles, the particle system may only have room for 50 particles, so we would only want this value increased by 50, not 100.

NOTE: DPSF Particle System handle updating this value automatically for you, but if you are using an emitter outside of the particle system's Emitters collection and are just manually calling the AddParticles() function yourself, then you will need to manually increase this value with whatever number is returned by the AddParticles() function.

NOTE: The max value of an int is 2,147,483,647 so if this reaches that value it will wrap around to -2,147,483,648.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version:



public int NumberOfParticlesEmitted { getset; }

Visual Basic

Public Property NumberOfParticlesEmitted As Integer



Visual C++


property int NumberOfParticlesEmitted {

 int get ();

 void set (int value);


Property Value

Type: Int32

collapse_allSee Also

ParticleEmitter Class

ParticleEmitter Members

DPSF Namespace


Send comments on this topic to