Table of Contents

Class ParticleSorterDefault

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

The default sorter doesn not sort the particles, but only passes them directly to the renderer

public class ParticleSorterDefault : IParticleSorter
Inheritance
ParticleSorterDefault
Implements

Constructors

ParticleSorterDefault(ParticlePool)

public ParticleSorterDefault(ParticlePool pool)

Parameters

pool ParticlePool

Fields

ParticlePool

Target ParticlePool to iterate and sort

protected readonly ParticlePool ParticlePool

Field Value

ParticlePool

Methods

FreeSortedList(ref ParticleList)

The default sorter does not allocate any resources so there is nothing to free

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