Version: 2019.1

ITerrainLayerCustomUI

interface in UnityEditor

Switch to Manual

Description

Provides an interface to display a custom TerrainLayer UI in the Terrain Layers inspector.

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.

Public Functions

OnTerrainLayerGUIDraws the custom GUI for the terrain layer.