SpotLight
struct in UnityEngine.Experimental.GlobalIllumination
/
Implemented in:UnityEngine.CoreModule
Description 描述
A helper structure used to initialize a LightDataGI structure as a spot light.
Properties 属性
| color | The direct light color. | ||
| coneAngle | The outer angle for the spot light. | ||
| falloff | The falloff model to use for baking the spot light. | ||
| indirectColor | The indirect light color. | ||
| innerConeAngle | The inner angle for the spot light. | ||
| instanceID | The light's instanceID. | ||
| mode | The lightmode. | ||
| orientation | The light's orientation. | ||
| position | The light's position. | ||
| range | The light's range. | ||
| shadow | True if the light casts shadows, otherwise False. | ||
| sphereRadius | The light's sphere radius, influencing soft shadows. |