Version: 2020.2
언어: 한국어

LightmapData

class in UnityEngine

매뉴얼로 전환

설명

Data of a lightmap.

A Scene can have several lightmaps stored in it, and Renderer components can use those lightmaps. This makes it possible to use the same material on multiple objects, while each object can refer to a different lightmap or different portion of the same lightmap.

See Also: LightmapSettings class, Renderer.lightmapIndex

변수

lightmapColorLightmap storing color of incoming light.
lightmapDirLightmap storing dominant direction of incoming light.
shadowMaskTexture storing occlusion mask per light (ShadowMask, up to four lights).
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961