Enum SpotLightShape
This enum has been deprecated, and the spot light shapes now exist as separate members in the
UnityEngine.LightType enum. The Cone, Pyramid, and Box types are represented by LightType.Spot,
LightType.Pyramid, and LightType.Box respectively.
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Obsolete("This enum has been deprecated. Use the UnityEngine.LightType enum instead. #from(2023.2)")]
public enum SpotLightShape
Fields
| Name | Description |
|---|---|
| Box | Box shape. Similar to a directional light but with bounds. |
| Cone | Cone shape. The default shape of the spot light. |
| Pyramid | Pyramid shape. |