Lightmapping.RequestLightsDelegate
public delegate void RequestLightsDelegate(Light[] requests,
NativeArray<LightDataGI> lightsOutput);
Parameters
| requests | The list of lights to be converted. | |
| lightsOutput | The output generated by the delegate function. Lights that should be skipped must be added to the output, initialized with InitNoBake on the LightDataGI structure. |
Description 描述
Delegate called when converting lights into a form that the baking backends understand.