LightmapData 光照图数据

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.

一个场景可以有多个光照贴图储存在这里,并且Renderer组件可以使用这些光照贴图,这就使得它能够在多个物体上使用相同的材质,而每个物体可以使用不同的光照贴图或同一个光照贴图的不同部分。

参见: LightmapSettings类, Renderer.lightmapIndex 属性

Variables变量

Page last updated: 2011-2-25