Version: 2017.2

Light.lightmapBakeType

切换到手册
public LightmapBakeType lightmapBakeType ;

描述

此属性描述可以对光贡献的哪个部分进行烘焙。

If this setting is LightmapBakeType.Realtime, realtime indirect GI can be precomputed, and then updated at runtime. If this setting is LightmapBakeType.Baked, this light will be baked and won't be evaluated at runtime. If this setting is LightmapBakeType.Mixed, this light will be a composition of baked and run time evaluation based on the selected Mixed Light mode in the lighting window's Settings tab.

此属性仅向 Editor 脚本公开。它不在播放模式期间公开。