Documentation

Unity Engine


Unity Engine


Capacity

The number of entities that can fit in this chunk.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Property
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public readonly int Capacity { get; }

Remarks

The capacity of a chunk depends on the size of the components making up the ArchetypeChunk.Archetype of the entities stored in the chunk.