Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


lightShape

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 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. The lightShape property has been deprecated in favor of the lightType property.
public SerializedProperty lightShape { get; }