This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

TerrainPaintTool<T0>.OnSceneGUI

Declaration

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

Parameters

terrain Active Terrain object.
editContext Interface 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.