docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method FromList

    FromList(IList<T>)

    Construct an InplaceArray from an IList (e.g. Array or List). The source must be non-empty and have at most 4 elements.

    Declaration
    public static InplaceArray<T> FromList(IList<T> elems)
    Parameters
    Type Name Description
    IList<T> elems
    Returns
    Type Description
    InplaceArray<T>
    Exceptions
    Type Condition
    ArgumentOutOfRangeException
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023