TerrainPaintToolWithOverlaysBase.OnRenderBrushPreview

Declaration

public void OnRenderBrushPreview(Terrain terrain, TerrainTools.IOnSceneGUI editContext);

Parameters

terrain Active Terrain object.
editContext Interface used to communicate between Editor and Paint tools.

Description

Use this method to implement custom tool preview and UI behavior that only renders while the mouse is within the SceneView bounds or while you're actively using this tool.


Did you find this page useful? Please give it a rating: