ドキュメント

Unity Engine

Unity Engine

shadows

Determines if this light will cast soft or hard shadows, or not cast shadows at all.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public LightShadows shadows { get; set; }

Remarks

Changing this setting can significantly affect visual quality and performance. Typically, turning shadows off boosts performance dramatically at the expense of realism and depth, while enabling soft shadows enhances realism, depth, and visual fidelity at significant performance costs.