Method AddHDLight
AddHDLight(GameObject, HDLightTypeAndShape)
Add a new HDRP Light to a GameObject
선언
public static HDAdditionalLightData AddHDLight(this GameObject gameObject, HDLightTypeAndShape lightTypeAndShape)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| GameObject | gameObject | The GameObject on which the light is going to be added |
| HDLightTypeAndShape | lightTypeAndShape | The Type of the HDRP light to Add |
반환
| 타입 | 설명 |
|---|---|
| HDAdditionalLightData | The created HDRP Light component |