文档

Unity Engine

Unity Engine

ShadowsOnly

Object casts shadows, but is otherwise invisible in the Scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

ShadowsOnly = 3

Remarks

This is useful for certain effects or optimization purposes; essentially this makes an object that only casts shadows, but is otherwise invisible.
Additional Resources: Renderer.shadowCastingMode.