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
poolParticlePool
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
sortedListParticleListReference to the ParticleList to be freed
GetSortedList(Vector3)
public ParticleList GetSortedList(Vector3 depth)
Parameters
depthVector3