文档

Unity Engine

Unity Engine

LightShadows

Shadow casting options for a Light.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum LightShadows

Remarks

Additional Resources: light component.

Fields

Value

Description

HardCast "hard" shadows (with no shadow filtering).
NoneDo not cast shadows (default).
SoftCast "soft" shadows (with 4x PCF filtering).