Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddAmbientLight

Add an ambient light to the spherical harmonics.
Read time 1 minuteLast updated 6 days 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.