Click or drag to resize
DigitalRuneStartDirectionEffectorOnInitializeParticles Method

Namespace: DigitalRune.Particles.Effectors
Assembly: DigitalRune.Particles (in DigitalRune.Particles.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
protected override void OnInitializeParticles(
	int startIndex,
	int count,
	Object emitter
)

Parameters

startIndex
Type: SystemInt32
The index of the first particle to initialize.
count
Type: SystemInt32
The number of particles to initialize.
emitter
Type: SystemObject
The emitter that triggered the particle creation. This can be an effector, another object or .
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, InitializeParticles(Int32, Int32, Object) calls OnInitializeParticles(Int32, Int32, Object) twice.)
See Also