C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

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