CreateEntityRemapArray(AllocatorHandle)
Creates a remapping array with one element for each entity in the EntityManager.World.
Read time 1 minuteLast updated a day ago
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. |