Method GetUniversalAdditionalLightData
GetUniversalAdditionalLightData(Light)
Universal Render Pipeline exposes additional light data in a separate component. This method returns the additional data component for the given light or create one if it doesn't exist yet.
Declaration
public static UniversalAdditionalLightData GetUniversalAdditionalLightData(this Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light |
Returns
Type | Description |
---|---|
UniversalAdditionalLightData | The |