Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ParticleSorterOrder Class

    Namespace: Stride.Particles.Sorters
    Assembly: Stride.Particles.dll

    Sorts the particles by ascending order of their Order attribute

    System.Object → ParticleSorterCustom<System.UInt32> → ParticleSorterOrder
    Derived from ParticleSorterOrder:

    public class ParticleSorterOrder : ParticleSorterCustom<uint>, IParticleSorter
    Name Description
    Constructors
    ParticleSorterOrder(ParticlePool)
    Methods
    FreeSortedList(ref ParticleList)

    In case an array was used it must be freed back to the pool

    GetSortedList(Vector3)
    | Improve this Doc View Source

    Constructors


    ParticleSorterOrder(ParticlePool)

    public ParticleSorterOrder(ParticlePool pool)
    Parameters
    Type Name Description
    ParticlePool pool
    | Improve this Doc View Source

    Methods


    FreeSortedList(ref ParticleList)

    In case an array was used it must be freed back to the pool

    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

    Inherited Members

    ParticleSorterCustom<UInt32>.fieldDesc
    ParticleSorterCustom<UInt32>.ArrayPool
    ParticleSorterCustom<UInt32>.ParticlePool

    Extension Methods

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

    Back to top

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