Documentation

Unity Engine

Download Unity

Unity Engine

shadowProjection

Directional light shadow projection.
Read time 1 minuteLast updated 6 hours ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. QualitySettings.shadowProjection is deprecated and will be removed in a future release. It's used only by the Built-In Render Pipeline, which is no longer supported. The Universal Render Pipeline (URP) has no equivalent, because it always uses stable fit shadow cascades. Remove references to QualitySettings.shadowProjection from your scripts. #from(7000.0)
public static ShadowProjection shadowProjection { get; set; }

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. For more information on migrating to URP, refer to Migrating from the Built-In Render Pipeline to URP.
Additional Resources: Quality Settings.