Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShadowObjectsFilter

The filters that Unity can use when it renders GameObjects in the shadow pass.
Read time 1 minuteLast updated 4 days ago

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.