文档

Unity Engine

Unity Engine

packingAttempts

The number of packing attempts before determining the most efficient layout.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int packingAttempts { get; set; }

Remarks

Higher values may produce more efficient layouts but take longer to calculate.
This setting only has an effect when using LightingSettings.LightmapPackingMethod.XAtlas.