InitialSpawnOrderGroup Class
Namespace: Stride.Particles.InitializersAssembly: Stride.Particles.dll
The InitialSpawnOrderGroup is an initializer which assigns all particles an increasing number based on the order of their spawning while keeping all particles spawned in the same frame in a separate spawn group (this is important for ribbons)
Derived from InitialSpawnOrderGroup:
[DataContract("InitialSpawnOrderGroup")]
[Display("Spawn Order (Group)", null)]
public class InitialSpawnOrderGroup : ParticleInitializer
Name | Description | |
---|---|---|
Constructors | ||
InitialSpawnOrderGroup() | 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
InitialSpawnOrderGroup()
Default constructor which also registers the fields required by this updater
public InitialSpawnOrderGroup()
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()