C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

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