# LightType

> The light type.

## Definition

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

```csharp
public enum LightType : byte
```

## Fields

| Value                                                                                                                         | Description                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Directional](/engine/6000.5/script-reference/unityengine/experimental/globalillumination/lighttype/directional.md)           | An infinite directional light.                                                                                                                      |
| [Disc](/engine/6000.5/script-reference/unityengine/experimental/globalillumination/lighttype/disc.md)                         | A light shaped like a disc emitting light into the hemisphere that it is facing.                                                                    |
| [Point](/engine/6000.5/script-reference/unityengine/experimental/globalillumination/lighttype/point.md)                       | A point light emitting light in all directions.                                                                                                     |
| [Rectangle](/engine/6000.5/script-reference/unityengine/experimental/globalillumination/lighttype/rectangle.md)               | A light shaped like a rectangle emitting light into the hemisphere that it is facing.                                                               |
| [Spot](/engine/6000.5/script-reference/unityengine/experimental/globalillumination/lighttype/spot.md)                         | A spot light emitting light in a direction with a cone shaped opening angle.                                                                        |
| [SpotBoxShape](/engine/6000.5/script-reference/unityengine/experimental/globalillumination/lighttype/spotboxshape.md)         | A box-shaped spot light. This type is only compatible with Scriptable Render Pipelines; it is not compatible with the built-in render pipeline.     |
| [SpotPyramidShape](/engine/6000.5/script-reference/unityengine/experimental/globalillumination/lighttype/spotpyramidshape.md) | A pyramid-shaped spot light. This type is only compatible with Scriptable Render Pipelines; it is not compatible with the built-in render pipeline. |
