Version: 2017.1

Terrain.materialTemplate

매뉴얼로 전환
public Material materialTemplate ;

설명

The custom material used to render the terrain.

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961