Table of Contents

Struct ParticleList

Namespace
Stride.Particles.Sorters
Assembly
Stride.Particles.dll
public struct ParticleList : IEnumerable
Implements
Inherited Members
Extension Methods

Constructors

ParticleList(ParticlePool, int, SortedParticle[])

public ParticleList(ParticlePool pool, int capacity, SortedParticle[] list = null)

Parameters

pool ParticlePool
capacity int
list SortedParticle[]

Methods

Free(ConcurrentArrayPool<SortedParticle>)

public void Free(ConcurrentArrayPool<SortedParticle> sortedArrayPool)

Parameters

sortedArrayPool ConcurrentArrayPool<SortedParticle>

GetEnumerator()

public ParticleList.Enumerator GetEnumerator()

Returns

ParticleList.Enumerator

GetField<T>(ParticleFieldDescription<T>)

Returns a particle field accessor for the contained ParticlePool

public ParticleFieldAccessor<T> GetField<T>(ParticleFieldDescription<T> fieldDesc) where T : struct

Parameters

fieldDesc ParticleFieldDescription<T>

The field description

Returns

ParticleFieldAccessor<T>

Type Parameters

T

Type data for the field