docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate DynamicArray<T>.SortComparer

    Delegate for custom sorting comparison.

    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public delegate int DynamicArray<T>.SortComparer(T x, T y)
    Parameters
    Type Name Description
    T x

    First object.

    T y

    Second object.

    Returns
    Type Description
    int

    -1 if x smaller than y, 1 if x bigger than y and 0 otherwise.

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)