ShadowCastMode is an Enum for determining how MeshRenderer and SkinnedMeshRenderer cast shadows for rendered objects.
Name | Value | Description |
---|---|---|
Off
|
0 | Shadows are not cast from the object. |
On
|
1 | Shadows are cast from the object. |
ShadowOnly
|
2 | Renders only the shadow; the original mesh is not drawn. |
DoubleSided
|
3 | Shadows are cast from the object. If the mesh' materials have face culling set, it is disabled for drawing the shadows, so both back and front faces will always be rendered. |