Version: 2020.2

Terrain.materialTemplate

切换到手册
public Material materialTemplate ;

描述

The custom material Unity uses to render the Terrain.

You can use this property to give the Terrain a custom material to render with.

Unity doesn't make a copy of the custom material internally, so modifying materialTemplate will affect all Terrain objects that use the same material.