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