ParticleList Struct
Namespace: Stride.Particles.SortersAssembly: Stride.Particles.dll
public struct ParticleList : IEnumerable
| Name | Description | |
|---|---|---|
| Constructors | ||
| ParticleList(ParticlePool, Int32, SortedParticle[]) | ||
| Methods | ||
| Free(ConcurrentArrayPool<SortedParticle>) | ||
| GetEnumerator() | ||
| GetField<T>(ParticleFieldDescription<T>) | Returns a particle field accessor for the contained ParticlePool |
|
| Explicit Interface Implementations | ||
| IEnumerable.GetEnumerator() | ||
Constructors
ParticleList(ParticlePool, Int32, SortedParticle[])
public ParticleList(ParticlePool pool, int capacity, SortedParticle[] list = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ParticlePool | pool | |
| System.Int32 | capacity | |
| SortedParticle[] | list |
Methods
Free(ConcurrentArrayPool<SortedParticle>)
public void Free(ConcurrentArrayPool<SortedParticle> sortedArrayPool)
Parameters
| Type | Name | Description |
|---|---|---|
| ConcurrentArrayPool<SortedParticle> | sortedArrayPool |
GetEnumerator()
public ParticleList.Enumerator GetEnumerator()
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| ParticleFieldDescription<T> | fieldDesc | The field description |
Returns
| Type | Description |
|---|---|
| ParticleFieldAccessor<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type data for the field |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()