Version: 2023.2
public ShadowObjectsFilter objectsFilter ;

描述

Specifies the filter Unity applies to GameObjects that it renders in the shadow pass.

Additional resources: ShadowObjectsFilter enum.