Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LightType

Description

The type of a Light.

See Also: Light.type, light component.

Variables

SpotThe light is a spot light.
DirectionalThe light is a directional light.
PointThe light is a point light.
AreaThe light is an area light. It affects only lightmaps and lightprobes.