NativeArraySharedInt(NativeArray<int>, AllocatorHandle)
Construct a NativeArraySharedInt struct from a NativeArray
阅读时间1 分钟最后更新于 19 天前
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.