docs.unity3d.com
    目次を表示する/隠す

    Class FixedListExtensions

    Provides extension methods for FixedListN.

    Inheritance
    Object
    FixedListExtensions
    Namespace: Unity.Collections
    Syntax
    public static class FixedListExtensions

    Methods

    Sort<T>(ref FixedList128Bytes<T>)

    Sorts the elements in this list in ascending order.

    Declaration
    public static void Sort<T>(this ref FixedList128Bytes<T> list)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList128Bytes<T> list

    The list to sort.

    Type Parameters
    Name Description
    T

    The type of the elements.

    Sort<T>(ref FixedList32Bytes<T>)

    Sorts the elements in this list in ascending order.

    Declaration
    public static void Sort<T>(this ref FixedList32Bytes<T> list)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList32Bytes<T> list

    The list to sort.

    Type Parameters
    Name Description
    T

    The type of the elements.

    Sort<T>(ref FixedList4096Bytes<T>)

    Sorts the elements in this list in ascending order.

    Declaration
    public static void Sort<T>(this ref FixedList4096Bytes<T> list)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList4096Bytes<T> list

    The list to sort.

    Type Parameters
    Name Description
    T

    The type of the elements.

    Sort<T>(ref FixedList512Bytes<T>)

    Sorts the elements in this list in ascending order.

    Declaration
    public static void Sort<T>(this ref FixedList512Bytes<T> list)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList512Bytes<T> list

    The list to sort.

    Type Parameters
    Name Description
    T

    The type of the elements.

    Sort<T>(ref FixedList64Bytes<T>)

    Sorts the elements in this list in ascending order.

    Declaration
    public static void Sort<T>(this ref FixedList64Bytes<T> list)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList64Bytes<T> list

    The list to sort.

    Type Parameters
    Name Description
    T

    The type of the elements.

    Sort<T, U>(ref FixedList128Bytes<T>, U)

    Sorts the elements in this list using a custom comparison.

    Declaration
    public static void Sort<T, U>(this ref FixedList128Bytes<T> list, U comp)
        where T : struct, IComparable<T> where U : IComparer<T>
    Parameters
    Type Name Description
    FixedList128Bytes<T> list

    The list to sort.

    U comp

    The comparison function used to determine the relative order of the elements.

    Type Parameters
    Name Description
    T

    The type of the elements.

    U

    The type of the comparer.

    Sort<T, U>(ref FixedList32Bytes<T>, U)

    Sorts the elements in this list using a custom comparison.

    Declaration
    public static void Sort<T, U>(this ref FixedList32Bytes<T> list, U comp)
        where T : struct, IComparable<T> where U : IComparer<T>
    Parameters
    Type Name Description
    FixedList32Bytes<T> list

    The list to sort.

    U comp

    The comparison function used to determine the relative order of the elements.

    Type Parameters
    Name Description
    T

    The type of the elements.

    U

    The type of the comparer.

    Sort<T, U>(ref FixedList4096Bytes<T>, U)

    Sorts the elements in this list using a custom comparison.

    Declaration
    public static void Sort<T, U>(this ref FixedList4096Bytes<T> list, U comp)
        where T : struct, IComparable<T> where U : IComparer<T>
    Parameters
    Type Name Description
    FixedList4096Bytes<T> list

    The list to sort.

    U comp

    The comparison function used to determine the relative order of the elements.

    Type Parameters
    Name Description
    T

    The type of the elements.

    U

    The type of the comparer.

    Sort<T, U>(ref FixedList512Bytes<T>, U)

    Sorts the elements in this list using a custom comparison.

    Declaration
    public static void Sort<T, U>(this ref FixedList512Bytes<T> list, U comp)
        where T : struct, IComparable<T> where U : IComparer<T>
    Parameters
    Type Name Description
    FixedList512Bytes<T> list

    The list to sort.

    U comp

    The comparison function used to determine the relative order of the elements.

    Type Parameters
    Name Description
    T

    The type of the elements.

    U

    The type of the comparer.

    Sort<T, U>(ref FixedList64Bytes<T>, U)

    Sorts the elements in this list using a custom comparison.

    Declaration
    public static void Sort<T, U>(this ref FixedList64Bytes<T> list, U comp)
        where T : struct, IComparable<T> where U : IComparer<T>
    Parameters
    Type Name Description
    FixedList64Bytes<T> list

    The list to sort.

    U comp

    The comparison function used to determine the relative order of the elements.

    Type Parameters
    Name Description
    T

    The type of the elements.

    U

    The type of the comparer.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)