docs.unity.cn
    Show / Hide Table of Contents

    Delegate DynamicArray<T>.SortComparer

    Delegate for custom sorting comparison.

    Namespace: UnityEngine.Rendering
    Syntax
    public delegate int SortComparer(T x, T y);
    Parameters
    Type Name Description
    T x

    First object.

    T y

    Second object.

    Returns
    Type Description
    Int32

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

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023