# SpotLight

> A helper structure used to initialize a LightDataGI structure as a spot light.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.Experimental.GlobalIllumination](/engine/6000.3/script-reference/unityengine/experimental/globalillumination.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public struct SpotLight
```

## Fields

| Value                                                                                                                     | Description                                                 |
| ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [angularFalloff](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/angularfalloff.md) | The angular falloff model to use for baking the spot light. |
| [color](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/color.md)                   | The direct light color.                                     |
| [coneAngle](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/coneangle.md)           | The outer angle for the spot light.                         |
| [entityId](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/entityid.md)             | The light's entityId.                                       |
| [falloff](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/falloff.md)               | The falloff model to use for baking the spot light.         |
| [indirectColor](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/indirectcolor.md)   | The indirect light color.                                   |
| [innerConeAngle](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/innerconeangle.md) | The inner angle for the spot light.                         |
| [mode](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/mode.md)                     | The lightmode.                                              |
| [orientation](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/orientation.md)       | The light's orientation.                                    |
| [position](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/position.md)             | The light's position.                                       |
| [range](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/range.md)                   | The light's range.                                          |
| [shadow](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/shadow.md)                 | True if the light casts shadows, otherwise False.           |
| [sphereRadius](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlight/sphereradius.md)     | The light's sphere radius, influencing soft shadows.        |
