docs.unity.cn
    Show / Hide Table of Contents

    Constructor NativeArraySharedInt

    NativeArraySharedInt(NativeArray<Int32>, AllocatorManager.AllocatorHandle)

    Construct a NativeArraySharedInt struct from a NativeArray

    Declaration
    public NativeArraySharedInt(NativeArray<int> sourceBuffer, AllocatorManager.AllocatorHandle allocator)
    Parameters
    Type Name Description
    NativeArray<Int32> sourceBuffer

    Original source values.

    AllocatorManager.AllocatorHandle allocator

    The NativeArray allocation type.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023