Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LightType

The type of a Light.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum LightType

Remarks

Additional Resources: Light.type, light component.

Fields

Value

Description

BoxThe light is a box-shaped spot light.
DirectionalThe light is a directional light.
DiscThe light is a disc-shaped area light.
PointThe light is a point light.
PyramidThe light is a pyramid-shaped spot light.
RectangleThe light is a rectangle-shaped area light.
SpotThe light is a cone-shaped spot light.
TubeThe light is a tube-shaped area light.