Version: 2019.3

LightProbes

class in UnityEngine

/

継承:Object

マニュアルに切り替える

説明

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.

関連項目: LightmapSettings クラス、Renderer.useLightProbes プロパティー

変数

bakedProbesベイクされたライトプローブの係数
cellCountセルの空間に分割されている数(Read Only)
countライトプローブの数(読み取り専用)
positionsベイクされたライトプローブの位置(読み取り専用)

Static 関数

CalculateInterpolatedLightAndOcclusionProbesCalculate light probes and occlusion probes at the given world space positions.
GetInterpolatedProbeリアルタイムとベイクされたライトプローブの組み合わせとの両方の指定位置の補間されたプローブを返します。

継承メンバー

変数

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameオブジェクト名

Public 関数

GetInstanceIDオブジェクトのインスタンス ID を返します
ToStringReturns the name of the object.

Static 関数

DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeタイプ type から最初に見つけたアクティブのオブジェクトを返します
FindObjectsOfTypeタイプから見つけたすべてのアクティブのオブジェクト配列を返します
Instantiateoriginal のオブジェクトをクローンします

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961