OnRenderBrushPreview(Terrain, IOnSceneGUI)
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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public virtual void OnRenderBrushPreview(Terrain terrain, IOnSceneGUI editContext)
Parameters
Active Terrain object.
Interface used to communicate between Editor and Paint tools.