Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LightShape

Describes the shape of a spot light.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. This property has been deprecated. Use LightType.Spot, LightType.Pyramid, or LightType.Box instead.
public enum LightShape

Fields

Value

Description

BoxThe shape of the spot light resembles a box oriented along the ray direction.
ConeThe shape of the spot light resembles a cone. This is the default shape for spot lights.
PyramidThe shape of the spot light resembles a pyramid or frustum. You can use this to simulate a screening or barn door effect on a normal spot light.