LightShape
Describes the shape of a spot light.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum LightShape
Fields
Value | Description |
|---|---|
| Box | The shape of the spot light resembles a box oriented along the ray direction. |
| Cone | The shape of the spot light resembles a cone. This is the default shape for spot lights. |
| Pyramid | The shape of the spot light resembles a pyramid or frustum. You can use this to simulate a screening or barn door effect on a normal spot light. |