docs.unity.cn
    Show / Hide Table of Contents

    Property ChunkCapacity

    ChunkCapacity

    The number of entities having this archetype that can fit into a single chunk of memory.

    Declaration
    public readonly int ChunkCapacity { get; }
    Property Value
    Type Description
    Int32

    Capacity is determined by the fixed, 16KB size of the memory blocks allocated by the ECS framework and the total storage size of all the component types in the archetype.

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