Version: 2019.2
Experimental: this API is experimental and might be changed or removed in the future.

TerrainPaintTool<T0>.OnSceneGUI

Switch to Manual
public void OnSceneGUI (Terrain terrain, Experimental.TerrainAPI.IOnSceneGUI editContext);

Parameters

terrainActive Terrain object.
editContextInterface used to communicate between Editor and Paint tools.

Description

Custom terrain tool OnSceneGUI callback.

Unity calls this method to run tool-specific scene UI and behavior.

See Also: Editor.OnSceneGUI.