用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:lightprobes:lightprobes

LightProbes 灯光探测器

class in UnityEngine/Inherits from: Object

Description 描述

Stores light probes for the scene.

场景灯光探测器存储。

The baked data includes: probe positions, Spherical Harmonics (SH) coefficients and the tetrahedral tessellation. You can modify the coefficients at runtime. You can also swap the entire LightProbes object to a different pre-baked one using LightmapSettings.lightProbes.

基础数据包括:探测器位置,球面谐波(SH)系数和四面体剖分。你可以实时修改该系数。你可以使用LightmapSettings.lightProbes与一个不同预烘培交换整个灯光探测器对象。

Variables 变量

bakedProbesCoefficients of baked light probes.
基础灯光探测器的系数。
cellCountThe number of cells space is divided into (Read Only).
划分的单元格数量(只读)。
countThe number of light probes (Read Only).
灯光探测器的数量(只读)。
positionsPositions of the baked light probes (Read Only).
基础灯光探测器的位置(只读)。

Static Functions 静态函数

GetInterpolatedProbeReturns an interpolated probe for the given position for both realtime and baked light probes combined.
返回指定位置的实时的和烘培灯光探测器结合的插入探测器。
script/unityengine/classes/lightprobes/lightprobes.txt · 最后更改: 2016/08/02 05:27 (外部编辑)