Version: 2023.2
言語: 日本語
public void AddDirectionalLight (Vector3 direction, Color color, float intensity);

パラメーター

direction The direction from the light probe to the light. The vector should be normalized for correct results.
color ライトのカラーを設定する。
intensity The intensity of the light.

説明

Add a directional light to the spherical harmonics.

If the spherical harmonics represent a light probe, this function adds a directional light into the light probe data.