Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

EntityQuery.ToArchetypeChunkList

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public void ToArchetypeChunkList(NativeList<ArchetypeChunk> archetypeChunkList);

Parameters

Parameter Description
archetypeChunkList The destination list to be filled.

Description

Synchronously fills a list with the chunks containing entities matching this EntityQuery.

This method blocks until the internal job that performs the query completes. If the query contains enableable components, chunks that contain zero entities with all relevant components enabled will not be included in the output list.