用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:lightmapdata:lightmapdata

LightmapData 光照贴图数据

class in UnityEngine

Description 描述

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.

一个场景可以存储几个灯光贴图,并且渲染器组件可以使用这些灯光贴图。这导致它可能在多个对象中使用相同的材质,当每个对象可以涉及到不同的灯光贴图或者相同灯光贴图的不同位置。

Variables 变量

lightmapFarLightmap storing the full incoming light.
Lightmap存储完整的入射光线。
lightmapNearLightmap storing only the indirect incoming light.
灯光贴图仅存储近处入射光线。
script/unityengine/classes/lightmapdata/lightmapdata.txt · 最后更改: 2016/08/02 05:27 (外部编辑)