docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ToArchetypeChunkList

    ToArchetypeChunkList(NativeList<ArchetypeChunk>)

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

    Declaration
    public void ToArchetypeChunkList(NativeList<ArchetypeChunk> archetypeChunkList)
    Parameters
    Type Name Description
    NativeList<ArchetypeChunk> archetypeChunkList

    The destination list to be filled.

    Remarks

    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.

    In This Article
    • ToArchetypeChunkList(NativeList<ArchetypeChunk>)
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)