| ParticleEffectorOnUpdateParticles Method |
Namespace: DigitalRune.ParticlesAssembly: DigitalRune.Particles (in DigitalRune.Particles.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax protected virtual void OnUpdateParticles(
TimeSpan deltaTime,
int startIndex,
int count
)
Protected Overridable Sub OnUpdateParticles (
deltaTime As TimeSpan,
startIndex As Integer,
count As Integer
)
protected:
virtual void OnUpdateParticles(
TimeSpan deltaTime,
int startIndex,
int count
)
abstract OnUpdateParticles :
deltaTime : TimeSpan *
startIndex : int *
count : int -> unit
override OnUpdateParticles :
deltaTime : TimeSpan *
startIndex : int *
count : int -> unit
Parameters
- deltaTime
- Type: SystemTimeSpan
The elapsed time since the last update. - startIndex
- Type: SystemInt32
The index of the first particle to initialize. - count
- Type: SystemInt32
The number of particles to initialize.
Remarks Notes to Inheritors:
When this method is called,
ParticleSystem is already
initialized and the particle effector is
Enabled.
startIndex
plus
count will never exceed the maximal number of particles (= the
length of the particle parameter arrays). This method does not have to make any index
checks. (When
startIndex plus
count would exceed the
length of the particle parameter arrays,
UpdateParticles(TimeSpan, Int32, Int32) calls
OnUpdateParticles(TimeSpan, Int32, Int32) twice.)
See Also