Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CountParticlesInUse()

int Terraria.Graphics.Renderers.ParticlePool< T >.CountParticlesInUse ( )
inline

Definition at line 13 of file ParticlePool.cs.

14 {
15 int num = 0;
16 for (int i = 0; i < num; i++)
17 {
18 if (!_particles[i].IsRestingInPool)
19 {
20 num++;
21 }
22 }
23 return num;
24 }

References Terraria.Graphics.Renderers.ParticlePool< T >._particles.