CreateEntityRemapArray(AllocatorHandle)
Creates a remapping array with one element for each entity in the EntityManager.World.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public NativeArray<EntityRemapUtility.EntityRemapInfo> CreateEntityRemapArray(AllocatorManager.AllocatorHandle allocator)
Parameters
The type of memory allocation to use when creating the array.
Returns
Type | Description |
|---|---|
| NativeArray<EntityRemapInfo> | An array containing a no-op identity transformation for each entity. |