struct in UnityEngine.Experimental.GlobalIllumination
A helper structure used to initialize a LightDataGI structure as a directional light.
color | The direct light color. |
indirectColor | The indirect light color. |
instanceID | The light's instanceID. |
mode | The lightmode. |
orientation | The light's orientation. Only relevant for cookie placement. |
penumbraWidthRadian | The penumbra width for soft shadows in radians. |
position | The light's position. Only relevant for cookie placement. |
shadow | True if the light casts shadows, otherwise False. |