Version: 2023.1
言語: 日本語

SphericalHarmonicsL2

struct in UnityEngine.Rendering

マニュアルに切り替える

説明

球面調和関数 (Spherical Harmonics) 。二項まで (3 バンド、9 係数) 。

球面調和関数 (SH) は向きの関数や信号を表し、スムーズな照明を効率的に評価するためにコンピュータグラフィックスでよく使われます。Unity は LightProbes と Environment Lighting のためにそれらに使用します。

L2 球面調和関数はカラーチャネルごとに 9つの係数で構成されます。

See Also: RenderSettings.ambientMode, RenderSettings.ambientProbe, LightProbes.

変数

this[int,int]それぞれの SH 係数にアクセスします。

Public 関数

AddAmbientLightAdd an ambient light to the spherical harmonics.
AddDirectionalLightAdd a directional light to the spherical harmonics.
ClearClears the spherical harmonics coefficients to zero.
EvaluateEvaluates the spherical harmonics for each given direction. The directions and results arrays must have the same size.

Operator

operator !=Returns true if the spherical harmonics are different.
operator *指定した倍率で SH をスケールします。
operator +Adds two spherical harmonics.
operator ==Returns true if the spherical harmonics are equal.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961