InitialSpawnOrder Class
Namespace: Stride.Particles.InitializersAssembly: Stride.Particles.dll
The InitialSpawnOrder is an initializer which assigns all particles an increasing number based on the order of their spawning
Derived from InitialSpawnOrder:
[DataContract("InitialSpawnOrder")]
[Display("Spawn Order", null)]
public class InitialSpawnOrder : ParticleInitializer
Name | Description | |
---|---|---|
Constructors | ||
InitialSpawnOrder() | Default constructor which also registers the fields required by this updater |
|
Methods | ||
Initialize(ParticlePool, Int32, Int32, Int32) | ||
ResetSimulation() | Resets the current state to the module's initial state |
Constructors
InitialSpawnOrder()
Default constructor which also registers the fields required by this updater
public InitialSpawnOrder()
Methods
Initialize(ParticlePool, Int32, Int32, Int32)
public override void Initialize(ParticlePool pool, int startIdx, int endIdx, int maxCapacity)
Parameters
Type | Name | Description |
---|---|---|
ParticlePool | pool | |
System.Int32 | startIdx | |
System.Int32 | endIdx | |
System.Int32 | maxCapacity |
Overrides
ResetSimulation()
Resets the current state to the module's initial state
public override void ResetSimulation()