Struct ParticleList
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
ParticlePoolcapacity
intlist
SortedParticle[]
Methods
Free(ConcurrentArrayPool<SortedParticle>)
public void Free(ConcurrentArrayPool<SortedParticle> sortedArrayPool)
Parameters
sortedArrayPool
ConcurrentArrayPool<SortedParticle>
GetEnumerator()
public ParticleList.Enumerator GetEnumerator()
Returns
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
Type Parameters
T
Type data for the field