Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


shape

This property describes the shape of the spot light. Only Scriptable Render Pipelines use this property; the built-in renderer does not support it.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. This property has been deprecated. Use Light.type instead.
public LightShape shape { get; set; }