docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReadValueTemp

    ReadValueTemp<T>(out NativeArray<T>, ForGeneric)

    Read a struct NativeArray using a Temp allocator. Equivalent to ReadValue(out value, Allocator.Temp)

    Declaration
    public void ReadValueTemp<T>(out NativeArray<T> value, FastBufferWriter.ForGeneric unused = default) where T : unmanaged
    Parameters
    Type Name Description
    NativeArray<T> value

    The values to read

    FastBufferWriter.ForGeneric unused

    An unused parameter used for enabling overload resolution based on generic constraints

    Type Parameters
    Name Description
    T

    The type being serialized

    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)