Class ParticleInitializer
- Namespace
- Stride.Particles.Initializers
- Assembly
- Stride.Particles.dll
[DataContract("ParticleInitializer")]
public abstract class ParticleInitializer : ParticleModule
- Inheritance
-
ParticleInitializer
- Derived
- Inherited Members
Methods
Initialize(ParticlePool, int, int, int)
Override Initialize if your module acts as an Initializer and change its type to Initializer
public abstract void Initialize(ParticlePool pool, int startIdx, int endIdx, int maxCapacity)
Parameters
pool
ParticlePoolParticle pool to target
startIdx
intStarting index (included from the array)
endIdx
intEnd index (excluded from the array)
maxCapacity
intMax pool capacity (loops after this point) so that it's possible for (endIdx < startIdx)