packingAttempts
The number of packing attempts before determining the most efficient layout.
Read time 1 minuteLast updated 4 days ago
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.
Additional Resources: LightingSettings.lightmapPackingMethod, LightingSettings.lightmapPackingMode.