DirectionalLight
struct in UnityEngine.Experimental.GlobalIllumination
/
Implemented in:UnityEngine.CoreModule
Description 描述
A helper structure used to initialize a LightDataGI structure as a directional light.
Properties 属性
| color | The direct light color. | ||
| direction | The direction of the light. | ||
| indirectColor | The indirect light color. | ||
| instanceID | The light's instanceID. | ||
| mode | The lightmode. | ||
| penumbraWidthRadian | The penumbra width for soft shadows in radians. | ||
| shadow | True if the light casts shadows, otherwise False. |