InitialOrderParent Class
Namespace: Stride.Particles.InitializersAssembly: Stride.Particles.dll
The InitialOrderParent is an initializer which sets the particle's spawn order based on a followed (parent) particle's order
System.Object → ParticleTransform → ParticleModule → ParticleInitializer → ParticleChildInitializer →
InitialOrderParent
Derived from InitialOrderParent:
[DataContract("InitialOrderParent")]
[Display("Spawn Order (parent)", null)]
public class InitialOrderParent : ParticleChildInitializer
Name | Description | |
---|---|---|
Constructors | ||
InitialOrderParent() | Default constructor which also registers the fields required by this updater |
|
Methods | ||
AddControlGroup() | Adds the required control group field to the parent emitter's pool |
|
Initialize(ParticlePool, Int32, Int32, Int32) | ||
RemoveControlGroup() | Removes the old required control group field from the parent emitter's pool |
|
ResetSimulation() | Resets the current state to the module's initial state |
Constructors
InitialOrderParent()
Default constructor which also registers the fields required by this updater
public InitialOrderParent()
Methods
AddControlGroup()
Adds the required control group field to the parent emitter's pool
protected override void AddControlGroup()
Overrides
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
RemoveControlGroup()
Removes the old required control group field from the parent emitter's pool
protected override void RemoveControlGroup()
Overrides
ResetSimulation()
Resets the current state to the module's initial state
public override void ResetSimulation()