C4 Engine
C4 Engine API Documentation

ParticleSystem::AddParticle

Defined in:  C4Particles.h
Adds a new particle to a particle system.
Prototype

void AddParticle(Particle *particle);

Parameters
particle The particle to add to the system.
Description
The AddParticle function adds the particle specified by the particle parameter to a particle system. The new particle would typically have been allocated by calling the ParticlePool::NewParticle function and then filling in the initial state of the Particle structure (or one of its subclasses).
See Also

Particle

ParticleSystem::AddFarthestParticle

ParticleSystem::FreeParticle

ParticleSystem::GetFirstParticle

ParticleSystem::GetLastParticle

ParticlePool::NewParticle