Click or drag to resize
DigitalRuneParticleSystemCurrentDelay Property
Gets or sets the current delay.

Namespace: DigitalRune.Particles
Assembly: DigitalRune.Particles (in DigitalRune.Particles.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
[ContentSerializerAttribute(Optional = true)]
public TimeSpan CurrentDelay { get; set; }

Property Value

Type: TimeSpan
The current delay. The default value is 0.
Remarks

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

See Also