ParticleSystemCurrentDelay Property |
Namespace: DigitalRune.Particles
[ContentSerializerAttribute(Optional = true)] public TimeSpan CurrentDelay { get; set; }
When the particle system is updated for the first time or when it is Reset, CurrentDelay is set to the InitialDelay (if it is positive). If this value is positive, the particle system will be paused for the given duration. With each Update(TimeSpan) the CurrentDelay is reduced, and the particle system continues to simulate particles as soon as CurrentDelay is 0 or negative.
Unlike InitialDelay, changing CurrentDelay of a running particle system has an immediate effect (in the next Update(TimeSpan) calls). Each time the particle system is Reset, CurrentDelay is set to InitialDelay