Version: 2022.3

ShadowObjectsFilter

enumeration

切换到手册

描述

The filters that Unity can use when it renders GameObjects in the shadow pass.

变量

AllObjectsRenders all GameObjects.
DynamicOnlyOnly renders GameObjects that do not include the Static Shadow Caster tag.
StaticOnlyOnly renders GameObjects that include the Static Shadow Caster tag.