Documentation

Unity Engine

Unity Engine

AddAmbientLight

Add an ambient light to the spherical harmonics.
Read time 1 minuteLast updated a month ago

Definition

AddAmbientLight(Color)

Add an ambient light to the spherical harmonics.
public void AddAmbientLight(Color color)

Parameters

color

Remarks

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

AddAmbientLight(Color)

Add an ambient light to the spherical harmonics.
public void AddAmbientLight(in Color color)

Parameters

color

Remarks

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