Table of Contents

Class UpdaterSpeedToDirection

Namespace
Stride.Particles.Modules
Assembly
Stride.Particles.dll

The UpdaterSpeedToDirection calculates the particle's direction (not normalized) based on its delta position

[DataContract("UpdaterSpeedToDirection")]
[Display("Direction from Speed", null)]
public class UpdaterSpeedToDirection : ParticleUpdater
Inheritance
UpdaterSpeedToDirection
Inherited Members

Constructors

UpdaterSpeedToDirection()

public UpdaterSpeedToDirection()

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 override bool IsPostUpdater { get; }

Property Value

bool

Methods

Update(float, ParticlePool)

Updates all particles in the ParticlePool using this updater

public override void Update(float dt, ParticlePool pool)

Parameters

dt float

Delta time in seconds which has passed since the last update call

pool ParticlePool

The target ParticlePool which needs to be updated