C4 Engine
C4 Engine API Documentation

Particle::GetPreviousParticle

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

Particle *GetPreviousParticle(voidconst;

Description
The GetPreviousParticle function returns the previous particle in the list of particles currently used by a particle system. If the particle for which this function is called is the first particle in the particle system, then the return value is nullptr.
See Also

Particle::GetNextParticle

ParticleSystem::GetFirstParticle

ParticleSystem::GetLastParticle