CreateArchetypeChunkArrayAsync(AllocatorHandle, out JobHandle)
Obsolete. Use EntityQuery.ToArchetypeChunkListAsync instead.
読み終わるまでの所要時間 1 分最終更新 4日前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
CreateArchetypeChunkArrayAsync(AllocatorHandle, JobHandle)
public NativeArray<ArchetypeChunk> CreateArchetypeChunkArrayAsync(AllocatorManager.AllocatorHandle allocator, out JobHandle outJobHandle)
Parameters
Allocator to use for the array.
An parameter assigned the handle to the internal job that gathers the chunks matching this EntityQuery.
outReturns
Type | Description |
|---|---|
| NativeArray<ArchetypeChunk> | NativeArray of all the chunks containing entities matching this query. |
Remarks
Obsolete. Use EntityQuery.ToArchetypeChunkListAsync instead.
Use as a dependency for jobs that use the returned chunk array.
outJobHandle