Version: 2022.2
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

Lightmapping.SetLightDirty

매뉴얼로 전환
public static void SetLightDirty (Light light);

파라미터

light The light to set as dirty.

설명

Manually sets a light as dirty.

Use this method to extend the Editor's capabilities so that it can track changes to Additional Light Data components which Scriptable Render Pipelines such as URP and HDRP attach to Lights. If you do not call this method, the Editor is not aware of these Additional Light Data components. Also see the documentation for Experimental.GlobalIllumination.Lightmapping.RequestLightsDelegate, which is the method the Editor uses to track all changes to lights, including those for Built-In Render Pipeline components.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961