LightType.Area

LightType.Area

Description

The light is an area light. It affects only lightmaps and lightprobes.

See Also: Light.type, light component.

JavaScript
// Make the light an area light
light.type = LightType.Area;