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