materialTemplate
The custom material Unity uses to render the Terrain.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public Material materialTemplate { get; set; }
Remarks
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 will affect all Terrain objects that use the same material.
materialTemplate