docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Download

    Download<T>(int, int)

    Returns a contiguous block of data from internal storage.

    Declaration
    NativeArray<T> Download<T>(int dstCount, int srcOffset = 0) where T : unmanaged
    Parameters
    Type Name Description
    int dstCount

    The number of elements to download.

    int srcOffset

    The index of the first element in storage to download.

    Returns
    Type Description
    NativeArray<T>

    A native array of downloaded elements.

    Type Parameters
    Name Description
    T

    The data type of the elements.

    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)