Terrain.materialTemplate

Switch to Manual
public Material materialTemplate ;

Description

用于渲染地形的自定义材质。

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.