ドキュメント

Unity Engine

Unity Engine

ITerrainLayerCustomUI

Provides an interface to display a custom TerrainLayer UI in the Terrain Layers inspector.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Interface
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public interface ITerrainLayerCustomUI

Remarks

Implement this interface on the ShaderGUI class for your custom terrain shader. This GUI will only be displayed when you select any Terrain Layer in the Paint Texture tab with the custom shader assigned to the terrain.

Methods

Method

Description

OnTerrainLayerGUIDraws the custom GUI for the terrain layer.