Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    SortedParticle Struct

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

    public struct SortedParticle : IComparable<SortedParticle>
    Name Description
    Constructors
    SortedParticle(Particle, Single)
    Fields
    Particle
    SortIndex
    Methods
    Equals(Object)
    GetHashCode()
    Operators
    Equality(SortedParticle, SortedParticle)
    GreaterThan(SortedParticle, SortedParticle)
    GreaterThanOrEqual(SortedParticle, SortedParticle)
    Inequality(SortedParticle, SortedParticle)
    LessThan(SortedParticle, SortedParticle)
    LessThanOrEqual(SortedParticle, SortedParticle)
    Explicit Interface Implementations
    IComparable<SortedParticle>.CompareTo(SortedParticle)
    | Improve this Doc View Source

    Constructors


    SortedParticle(Particle, Single)

    public SortedParticle(Particle particle, float sortIndex)
    Parameters
    Type Name Description
    Particle particle
    System.Single sortIndex
    | Improve this Doc View Source

    Fields


    Particle

    public readonly Particle Particle
    Field Value
    Type Description
    Particle

    SortIndex

    public readonly float SortIndex
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Methods


    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    | Improve this Doc View Source

    Operators


    Equality(SortedParticle, SortedParticle)

    public static bool operator ==(SortedParticle left, SortedParticle right)
    Parameters
    Type Name Description
    SortedParticle left
    SortedParticle right
    Returns
    Type Description
    System.Boolean

    GreaterThan(SortedParticle, SortedParticle)

    public static bool operator>(SortedParticle left, SortedParticle right)
    Parameters
    Type Name Description
    SortedParticle left
    SortedParticle right
    Returns
    Type Description
    System.Boolean

    GreaterThanOrEqual(SortedParticle, SortedParticle)

    public static bool operator >=(SortedParticle left, SortedParticle right)
    Parameters
    Type Name Description
    SortedParticle left
    SortedParticle right
    Returns
    Type Description
    System.Boolean

    Inequality(SortedParticle, SortedParticle)

    public static bool operator !=(SortedParticle left, SortedParticle right)
    Parameters
    Type Name Description
    SortedParticle left
    SortedParticle right
    Returns
    Type Description
    System.Boolean

    LessThan(SortedParticle, SortedParticle)

    public static bool operator <(SortedParticle left, SortedParticle right)
    Parameters
    Type Name Description
    SortedParticle left
    SortedParticle right
    Returns
    Type Description
    System.Boolean

    LessThanOrEqual(SortedParticle, SortedParticle)

    public static bool operator <=(SortedParticle left, SortedParticle right)
    Parameters
    Type Name Description
    SortedParticle left
    SortedParticle right
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Explicit Interface Implementations


    IComparable<SortedParticle>.CompareTo(SortedParticle)

    int IComparable<SortedParticle>.CompareTo(SortedParticle other)
    Parameters
    Type Name Description
    SortedParticle other
    Returns
    Type Description
    System.Int32

    Inherited Members

    System.ValueType.ToString()

    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