Documentation

Unity Engine

Download Unity

Unity Engine

All

Hard and Soft Shadows.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
All = 2

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. To control shadows in the Universal Render Pipeline (URP), use Cast Shadows under Lighting > Main Light and Additional Lights, and Soft Shadows under Shadows in the URP Asset.
Additional Resources: QualitySettings.shadows, Light.shadows.