EntityStoreBase.ShrinkRatioThreshold.md

July 31, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.EntityStoreBase

EntityStoreBase.ShrinkRatioThreshold Property

Shrink ratio threshold: Sum of all Archetype capacities / EntityStore entity count. Default: 10

If the current ratio is > ShrinkRatioThreshold archetype capacities are shrinked.

public double ShrinkRatioThreshold { get; set; }

Property Value

System.Double

Contents

  1. 0.1Friflo.Engine.ECS.EntityStoreBase
  2. 1EntityStoreBase.ShrinkRatioThreshold Property