Version: 5.4
public int bakedIndex ;

説明

ライトマップ および/または ライトプローブへ貢献しているライトを識別するために、内部的に使われる固有のインデックス。

When manually assembling a lightmapped scene set this index appropriately, so that the light doesn't affect lightmapped objects twice, but at the same time affects dynamic objects. Having a unique index for each light helps to mix realtime and baked shadow by identifying the amount of light contribution each particular light had on a lightmap or lightprobe. -2 means that light is not baked, -1 is reserved for internal use. See Also: Light component and isBaked.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961