Method CreateArchetypeChunkArray
CreateArchetypeChunkArray(AllocatorManager.AllocatorHandle)
Obsolete. Use ToArchetypeChunkArray(AllocatorManager.AllocatorHandle) instead.
Declaration
[Obsolete("This method has been renamed to ToArchetypeChunkArray. (RemovedAfter Entities 1.0) (UnityUpgradable) -> ToArchetypeChunkArray(*)")]
public NativeArray<ArchetypeChunk> CreateArchetypeChunkArray(AllocatorManager.AllocatorHandle allocator)
Parameters
Type | Name | Description |
---|---|---|
AllocatorManager.AllocatorHandle | allocator | Allocator to use for the array. |
Returns
Type | Description |
---|---|
NativeArray<ArchetypeChunk> | A NativeArray of all the chunks in this matched by this query. |