ParticleUpdater Class
Namespace: Stride.Particles.ModulesAssembly: Stride.Particles.dll
The ParticleUpdater updates one or more fields, such as velocity or position, in all living particles in a target ParticlePool
[DataContract("ParticleUpdater")]
public abstract class ParticleUpdater : ParticleModule
Name | Description | |
---|---|---|
Properties | ||
IsPostUpdater | All updaters are called exactly once during each ParticleEmitter's update. Most updaters are called before spawning the new particles for the frame, but post updaters are called after that. |
|
Methods | ||
Update(Single, ParticlePool) | Updates all particles in the ParticlePool using this updater |
Properties
IsPostUpdater
All updaters are called exactly once during each ParticleEmitter's update. Most updaters are called before spawning the new particles for the frame, but post updaters are called after that.
public virtual bool IsPostUpdater { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Update(Single, ParticlePool)
Updates all particles in the ParticlePool using this updater
public abstract void Update(float dt, ParticlePool pool)
Parameters
Type | Name | Description |
---|---|---|
System.Single | dt | Delta time in seconds which has passed since the last update call |
ParticlePool | pool | The target ParticlePool which needs to be updated |