ParticleSorterDefault Class
Namespace: Stride.Particles.SortersAssembly: Stride.Particles.dll
The default sorter doesn not sort the particles, but only passes them directly to the renderer
System.Object →
ParticleSorterDefault
Derived from ParticleSorterDefault:
public class ParticleSorterDefault : IParticleSorter
Name | Description | |
---|---|---|
Constructors | ||
ParticleSorterDefault(ParticlePool) | ||
Fields | ||
ParticlePool | Target ParticlePool to iterate and sort |
|
Methods | ||
FreeSortedList(ref ParticleList) | The default sorter does not allocate any resources so there is nothing to free |
|
GetSortedList(Vector3) |
Constructors
ParticleSorterDefault(ParticlePool)
public ParticleSorterDefault(ParticlePool pool)
Parameters
Type | Name | Description |
---|---|---|
ParticlePool | pool |
Fields
ParticlePool
Target ParticlePool to iterate and sort
protected readonly ParticlePool ParticlePool
Field Value
Type | Description |
---|---|
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
Type | Name | Description |
---|---|---|
ParticleList | sortedList | Reference to the ParticleList to be freed |
GetSortedList(Vector3)
public ParticleList GetSortedList(Vector3 depth)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | depth |
Returns
Type | Description |
---|---|
ParticleList |