Version: 2022.1
言語: 日本語
Method group is Obsolete

Terrain.castShadows

マニュアルに切り替える
Obsolete public bool castShadows ;

説明

地形にシャドウをキャストするかどうか。

castShadows is obsolete. Instead you should use shadowCastingMode which allows setting all shadow casting modes. Setting castShadows to true sets shadowCastingMode to ShadowCastingMode.TwoSided. Setting it to false sets shadowCastingMode to ShadowCastingMode.Off.