用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:lightmapsettings:lightmapsettings

LightmapSettings 光照贴图设置

class in UnityEngine/Inherits from: Object

Description 描述

Stores lightmaps of the scene.

场景光照贴图的存储。

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.

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

Static Variables 静态变量

lightmapsLightmap array.
灯光贴图数组。
lightmapsModeNon-directional, Directional or Directional Specular lightmaps rendering mode.
非定向、定向或定向镜面反射灯光贴图渲染模式。
lightProbesHolds all data needed by the light probes.
保留所有需要的灯光探测数据。
script/unityengine/classes/lightmapsettings/lightmapsettings.txt · 最后更改: 2016/08/02 05:24 (外部编辑)