文档

Unity Engine

Unity Engine

limitLightmapCount

If enabled, objects sharing the same lightmap parameters will be packed into LightmapParameters.maxLightmapCount lightmaps.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool limitLightmapCount { get; set; }

Remarks

This setting can be used to limit the number of generated lightmaps. This is achieved by iteratively scaling down the UV layouts until they fit into the specified number of allowed lightmaps.