LightType
The type of a Light.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum LightType
Remarks
Additional Resources: Light.type, light component.
Fields
Value | Description |
|---|---|
| Box | The light is a box-shaped spot light. |
| Directional | The light is a directional light. |
| Disc | The light is a disc-shaped area light. |
| Point | The light is a point light. |
| Pyramid | The light is a pyramid-shaped spot light. |
| Rectangle | The light is a rectangle-shaped area light. |
| Spot | The light is a cone-shaped spot light. |
| Tube | The light is a tube-shaped area light. |