ShadowCasters
When this flag is set, Unity culls shadow casters as part of the culling operation.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
ShadowCasters = 64
Remarks
Default value: set, if your project uses the Scriptable Render Pipeline.
If your project uses the Built-in Render Pipeline, this value is unset if QualitySettings.shadows is set to ShadowQuality.Disable; otherwise, it is set. Note that changing this value has no effect in the Built-in Render Pipeline.
Additional Resources: ScriptableCullingParameters.cullingOptions, ScriptableRenderContext.Cull, CullingResults.