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 © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023