ShadowCastingMode
How shadows are cast from this object.
Read time 1 minuteLast updated 4 days ago
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. |