docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ArrayExtensions

    Array utilities functions

    Inheritance
    object
    ArrayExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public static class ArrayExtensions

    Methods

    Name Description
    ResizeArray(ref TransformAccessArray, int)

    Resizes a transform access array.

    ResizeArray<T>(ref NativeArray<T>, int)

    Resizes a native array. If an empty native array is passed, it will create a new one.

    ResizeArray<T>(ref T[], int)

    Resizes an array. If a null reference is passed, it will allocate the desired array.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)