ShadowCastingMode
How shadows are cast from this object.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public enum ShadowCastingMode
Remarks
Additional Resources: Renderer.shadowCastingMode.
Fields
Value | Description |
|---|---|
| Off | No shadows are cast from this object. |
| On | Shadows are cast from this object. |
| ShadowsOnly | Object casts shadows, but is otherwise invisible in the Scene. |
| TwoSided | Shadows are cast from this object, treating it as two-sided. |