Experimental: this API is experimental and might be changed or removed in the future.

LightDataGI.Init

Switch to Manual
public void Init (ref Experimental.GlobalIllumination.PointLight light);
public void Init (ref Experimental.GlobalIllumination.SpotLight light);
public void Init (ref Experimental.GlobalIllumination.RectangleLight light);

Description

Initialize the struct with the parameters from the given light type.