Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Lightmapping

Interface to the light baking backends.
Read time 1 minuteLast updated a month ago

Definition

public static class Lightmapping

Static Methods

Method

Description

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

Delegate

Description

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