| Parameter | Description |
|---|---|
| entityTypeHandle | An object containing type and job safety information. To create this object, call ComponentSystemBase.GetEntityTypeHandle. Pass the object to a job using a public field you define as part of the job struct. |
NativeArray<Entity> A native array containing the entities in the chunk.
Provides a native array interface to entity instances stored in this chunk.
The native array returned by this method references existing data, not a copy.
| Parameter | Description |
|---|---|
| typeHandle | An object containing type and job safety information. To create this object, call ComponentSystemBase.GetComponentTypeHandle. Pass the object to a job using a public field you define as part of the job struct. |
NativeArray<T> A native array containing the components in the chunk.
Provides a native array interface to components stored in this chunk.
The native array returned by this method references existing data, not a copy.
For raw unsafe access to a chunk's component data, see ArchetypeChunk.GetComponentDataPtrRO
and ArchetypeChunk.GetComponentDataPtrRW.