文档

Unity Engine

Unity Engine

lightmapsMode

NonDirectional or CombinedDirectional Specular lightmaps rendering mode.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static LightmapsMode lightmapsMode { get; set; }

Remarks

Note: this property is only serialized when building the player. In all the other cases it's the responsibility of the Unity lightmapping system (or a custom script that brings external lightmapping data) to set it when the Scene loads or playmode is entered.
You can continue reading here if you want to know what the different lightmap modes do.