docs.unity.cn
    Show / Hide Table of Contents

    Method CreateArchetypeChunkArray

    CreateArchetypeChunkArray(Allocator)

    Synchronously creates an array of the chunks containing entities matching this EntityQuery.

    Declaration
    public NativeArray<ArchetypeChunk> CreateArchetypeChunkArray(Allocator allocator)
    Parameters
    Type Name Description
    Allocator allocator

    Allocator to use for the array.

    Returns
    Type Description
    NativeArray<ArchetypeChunk>

    NativeArray of all the chunks in this ComponentChunkIterator.

    Remarks

    This method blocks until the internal job that performs the query completes. CreateArchetypeChunkArrayAsync(Allocator, out JobHandle)

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use