Skip to main content

LightType

The type of a Light.

Elements

ElementDescription
LightType.DirectionalThe light is a directional light.
LightType.DiscThe light is a disc shaped area light. It affects only baked lightmaps and lightprobes.
LightType.PointThe light is a point light.
LightType.RectangleThe light is a rectangle shaped area light. It affects only baked lightmaps and lightprobes.
LightType.SpotThe light is a spot light.