C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

ParticleSystem::SetParticleSystemFlags

Defined in:  C4Particles.h
Sets the particle system flags.
Prototype

void SetParticleSystemFlags(unsigned long flags);

Parameters
flags The new particle system flags.
Description
The GetParticleSystemFlags function sets the particle system flags to the value specified by the flags parameter. The particle system flags can be a combination (through logical OR) of the following values.
kParticleSystemSelfDestruct The particle system should delete itself once all the particles have died.
kParticleSystemPointSprite The particles should be rendered using point sprite hardware if available.
kParticleSystemNonpersistent The particles are not saved when the particle system is serialized.
kParticleSystemFreezeInvisible The particle system is not animated when it was not rendered on the previous frame.
kParticleSystemUnfreezeDynamic The particle system is always animated if it has been invalidated since the previous frame.
The default value of the particle system flags is 0.
See Also

ParticleSystem::GetParticleSystemFlags