proland::LifeCycleParticleLayer::LifeCycleParticle Struct Reference

Layer specific particle data for managing the lifecycle of particles. More...

#include <LifeCycleParticleLayer.h>

List of all members.

Public Attributes

float birthDate
 The birth date of this particle, in microseconds.

Detailed Description

Layer specific particle data for managing the lifecycle of particles.


Member Data Documentation

The birth date of this particle, in microseconds.

This birth date allows one to compute the age of the particle. If this age is between 0 and fadeInDelay the particle is fading in. If this age is between fadeInDelay and fadeInDelay + activeDelay, the particle is active. Otherwise it is fading out. Note that we do not store the particle's age directly to avoid updating it at each frame.


Generated on Sat May 12 09:41:37 2012 for proland by  doxygen 1.6.1