WorldParticleSystemTracker

Namespace: Murder.Core.Particles
Assembly: Murder.dll

public class WorldParticleSystemTracker

⭐ Constructors

public WorldParticleSystemTracker(int seed)

Parameters
seed int

⭐ Methods

SetAlpha(int, float)

public bool SetAlpha(int entityId, float alpha)

Set the alpha for a particle system itself according to the .

Parameters
entityId int
alpha float

Returns
bool

Synchronize(Entity)

public bool Synchronize(Entity particleEntity)

Parameters
particleEntity Entity

Returns
bool

Track(Entity)

public bool Track(Entity particleEntity)

Parameters
particleEntity Entity

Returns
bool

FetchActiveParticleTrackers()

public ReadOnlySpan<T> FetchActiveParticleTrackers()

Fetch all the active particle trackers.

Returns
ReadOnlySpan<T>

Activate(int)

public void Activate(int id)

Parameters
id int

Deactivate(int)

public void Deactivate(int id)

Parameters
id int

Step(World)

public void Step(World world)

Parameters
world World

Untrack(Entity)

public void Untrack(Entity particleEntity)

Parameters
particleEntity Entity