Experimental: this API is experimental and might be changed or removed in the future.

Lightmapping

class in UnityEngine.Experimental.GlobalIllumination

Switch to Manual

Description

Interface to the light baking backends.

Static Functions

GetDelegateGet the currently set conversion delegate.
ResetDelegateResets the light conversion delegate to Unity's default conversion function.
SetDelegateSet a delegate that converts a list of lights to a list of LightDataGI structures that are passed to the baking backends. Must be reset by calling ResetDelegate again.

Delegates

RequestLightsDelegateDelegate called when converting lights into a form that the baking backends understand.