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

Lightmapping

class in UnityEngine.Experimental.GlobalIllumination

Switch to Manual

Description

光照烘焙后端的接口。

Static Functions

GetDelegateGet the currently set conversion delegate.
ResetDelegate将光源转换委托重置为 Unity 的默认转换函数。
SetDelegate设置一个委托,将光源列表转换为传递给烘焙后端的 LightDataGI 结构的列表。必须通过再次调用 ResetDelegate 来进行重置。

Delegates

RequestLightsDelegate在将光源转换为烘焙后端可理解的形式时调用的委托。