Version: 2021.1
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

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.