文档

Unity Engine

Unity Engine

ShadowObjectsFilter

The filters that Unity can use when it renders GameObjects in the shadow pass.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum ShadowObjectsFilter

Fields

Value

Description

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.