Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShadowCastingMode

How shadows are cast from this object.
Read time 1 minuteLast updated 4 days ago

Definition

public enum ShadowCastingMode

Remarks

Additional Resources: Renderer.shadowCastingMode.

Fields

Value

Description

OffNo shadows are cast from this object.
OnShadows are cast from this object.
ShadowsOnlyObject casts shadows, but is otherwise invisible in the Scene.
TwoSidedShadows are cast from this object, treating it as two-sided.