Documentation

Unity Engine

Unity Engine

NativeArraySharedInt(NativeArray<int>, AllocatorHandle)

Construct a NativeArraySharedInt struct from a NativeArray
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public NativeArraySharedInt(NativeArray<int> sourceBuffer, AllocatorManager.AllocatorHandle allocator)

Parameters

sourceBuffer

Original source values.

The NativeArray allocation type.