Class ParticleSorterDefault
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
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
ParticleListReference to the ParticleList to be freed
GetSortedList(Vector3)
public ParticleList GetSortedList(Vector3 depth)
Parameters
depth
Vector3