Method ForceRegisterLight
ForceRegisterLight(HDAdditionalLightData)
This function can be used to register a light to the cached shadow system if not already registered. It is necessary to call this function if a light has been evicted with ForceEvictLight and it needs to be registered again. Please note that a light is automatically registered when enabled or when the shadow update changes from EveryFrame to OnDemand or OnEnable.
선언
public void ForceRegisterLight(HDAdditionalLightData lightData)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| HDAdditionalLightData | lightData | The light to register. |