Enum Light2D.LightType
An enumeration of the types of light
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.2D.Runtime.dll
Syntax
public enum Light2D.LightType
Fields
Name | Description |
---|---|
Freeform | The shape of the light is based on a user defined closed shape with multiple points. |
Global | Shapeless light that affects the entire screen. |
Parametric | N-gon shaped lights. Deprecated. |
Point | The shape of light is circular and can also be configured into a pizza shape. |
Sprite | The shape of the light is based on a Sprite. |