Click or drag to resize
DigitalRuneParticleSystemOnUpdate Method
Called when Update(TimeSpan) was called.

Namespace: DigitalRune.Particles
Assembly: DigitalRune.Particles (in DigitalRune.Particles.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
protected virtual void OnUpdate(
	TimeSpan deltaTime
)

Parameters

deltaTime
Type: SystemTimeSpan
The elapsed time since the last update.
Remarks
Notes to Inheritors:
This method is called by Update(TimeSpan) to do the actual work. This method is only called if the particle system is Enabled and not delaying. The base implementation calls BeginUpdate(TimeSpan) of the effectors. Then the particle ages (particle parameter "NormalizedAge") are updated. Next UpdateParticles(TimeSpan, Int32, Int32) of the effectors is called to update the particle states. After that the child Children are updated. Finally ParticleStartIndex, NumberOfActiveParticles and NumberOfLivingParticles are updated and EndUpdate(TimeSpan) of the effectors is called.
See Also