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
Original source values.
The NativeArray allocation type.