AddDirectionalLight
Add a directional light to the spherical harmonics.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
AddDirectionalLight(Vector3, Color, float)
Add a directional light to the spherical harmonics.
public void AddDirectionalLight(Vector3 direction, Color color, float intensity)
Parameters
Remarks
If the spherical harmonics represent a light probe, this function adds a directional light into the light probe data.
AddDirectionalLight(Vector3, Color, float)
Add a directional light to the spherical harmonics.
public void AddDirectionalLight(in Vector3 direction, in Color color, float intensity)
Parameters
Remarks
If the spherical harmonics represent a light probe, this function adds a directional light into the light probe data.