Documentation

Unity Engine


Unity Engine


ShadowCastingMode

How shadows are cast from this object.
Read time 1 minuteLast updated a month 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.