CSS Logo XNACS1Lib Library Documentation
XNACS1ParticleEmitter.NewParticle Method 

Game-Themed Introductory Programming Project   

This method is called by the Emit method whenever a particle is created. By default particles are created at the Center location of the emitter with InitialLife, InitialSize, DefaultTexture, and DefaultColor. Newly created particles also have shouldtravel set to false and velocity = 0. By overloading this method you can change these properties to make particles emit in different ways. Particle that has just been created and added to the set.

protected virtual void NewParticle(
   XNACS1Particle newParticle
);

See Also

XNACS1ParticleEmitter Class | XNACS1Lib Namespace | AutoEmitEnabled | InitialLife | InitialSize | DefaultTexture | DefaultColor | EmitFrequency | Emit | UpdateParticle