Version: 2020.1
언어: 한국어
Method group is Obsolete

Terrain.castShadows

매뉴얼로 전환
Obsolete public bool castShadows ;

설명

Should terrain cast shadows?.

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.