# SpotLightPyramidShape

> Use this Struct to help initialize a LightDataGI structure as a pyramid-shaped spot light.

## Definition

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

```csharp
public struct SpotLightPyramidShape
```

## Fields

| Value                                                                                                                               | Description                                                                                                                 |
| ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| [angle](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/angle.md)                 | The opening angle of the shorter side of the pyramid light.                                                                 |
| [aspectRatio](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/aspectratio.md)     | The aspect ratio for the pyramid shape. Values larger than 1 extend the width and values between 0 and 1 extend the height. |
| [color](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/color.md)                 | The direct light color.                                                                                                     |
| [entityId](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/entityid.md)           | The light's entityId.                                                                                                       |
| [falloff](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/falloff.md)             | The falloff model to use for baking the pyramid light.                                                                      |
| [indirectColor](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/indirectcolor.md) | The indirect light color.                                                                                                   |
| [mode](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/mode.md)                   | The lightmode.                                                                                                              |
| [orientation](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/orientation.md)     | The light's orientation.                                                                                                    |
| [position](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/position.md)           | The light's position.                                                                                                       |
| [range](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/range.md)                 | The light's range.                                                                                                          |
| [shadow](/engine/6000.3/script-reference/unityengine/experimental/globalillumination/spotlightpyramidshape/shadow.md)               | Specifies whether the light casts shadows or not. This is true if the light does cast shadows and false otherwise.          |
