Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Box

The shape of the spot light resembles a box oriented along the ray direction.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. This property has been deprecated. Use LightType.Spot, LightType.Pyramid, or LightType.Box instead.
Box = 2