C4 Engine
C4 Engine API Documentation

ParticleSystem::GetLastParticle

Defined in:  C4Particles.h
Returns the last particle in a particle system.
Prototype

Particle *GetLastParticle(voidconst;

Description
The GetLastParticle function returns the last particle belonging to the particle system. All of the particles in the particle system can be iterated by calling the Particle::GetPreviousParticle function until nullptr is returned.
See Also

Particle

Particle::GetPreviousParticle

ParticleSystem::GetFirstParticle

ParticleSystem::AddParticle

ParticleSystem::AddFarthestParticle

ParticleSystem::FreeParticle