Table of Contents

Class ParticleSorterAge

Namespace
Stride.Particles.Sorters
Assembly
Stride.Particles.dll

Sorts the particles by descending order of their remaining Life

public class ParticleSorterAge : ParticleSorterCustom<float>, IParticleSorter
Inheritance
ParticleSorterAge
Implements
Inherited Members

Constructors

ParticleSorterAge(ParticlePool)

public ParticleSorterAge(ParticlePool pool)

Parameters

pool ParticlePool

Methods

FreeSortedList(ref ParticleList)

In case an array was used it must be freed back to the pool

public void FreeSortedList(ref ParticleList sortedList)

Parameters

sortedList ParticleList

Reference to the ParticleList to be freed

GetSortedList(Vector3)

public ParticleList GetSortedList(Vector3 depth)

Parameters

depth Vector3

Returns

ParticleList