Version: 5.4
public Material materialTemplate ;

説明

地形をレンダリングするために使用するカスタムのマテリアル

You can use this variable to give the terrain a custom material to render with. For the material to be actually applied, you also need to set Terrain.materialType to Terrain.MaterialType.Custom.

No copy of the custom material is made internally, so modifying materialTemplate will affect all terrain objects using the same material.