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

参数

terrain 激活的地形对象。
editContext 用于在编辑器和画笔工具之间进行通信的接口。

描述

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.