기술 자료

Unity Engine

Unity Engine

SetLights(Light[])

Overwrites the Lights referenced by a LightingDataAsset.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public void SetLights(Light[] lights)

Parameters

lights

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.