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

Lightmapping

class in UnityEngine.Experimental.GlobalIllumination

/

Implemented in:UnityEngine.CoreModule

Description

Interface to the light baking backends.

Static Methods

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.

Did you find this page useful? Please give it a rating: