文档

Unity Engine

Unity Engine

ShadowCastingMode

How shadows are cast from this object.
阅读时间1 分钟最后更新于 1 个月前

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.