ShadowsOnly
Object casts shadows, but is otherwise invisible in the Scene.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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.