Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

LightType

enumeration

Cambiar al Manual

Descripción

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.