SetLights(Light[])
Overwrites the Lights referenced by a LightingDataAsset.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public void SetLights(Light[] lights)
Parameters
The array of Lights to overwrite the LightingDataAssets storage with.
Remarks
This method can be used to change per-light data stored in the Lighting Data Asset without having to re-bake the scene. Most of this data exists in Light.bakingOutput.