docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CopyTo

    CopyTo(T*, int, int)

    Copy the content of this list into another buffer in memory.

    Safety:

    • The destination must have enough memory to receive the copied data.
    Declaration
    public void CopyTo(T* dstBuffer, int startDstIndex, int copyCount)
    Parameters
    Type Name Description
    T* dstBuffer

    The destination buffer of the copy operation.

    int startDstIndex

    The index of the first element that will be copied in the destination buffer.

    int copyCount

    The number of item to copy.

    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)