Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ParticleList Struct

    Namespace: Stride.Particles.Sorters
    Assembly: 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()
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    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()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    EnumerableExtensions.IsNullOrEmpty(IEnumerable)
    EnumerableExtensions.ForEach<T>(IEnumerable, Action<T>)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation