文档

Unity Engine

Download Unity

Unity Engine

Capacity

The number of entities that can fit in this chunk.
阅读时间1 分钟最后更新于 19 天前

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.