Version: 2023.2
言語: 日本語
public void OnSceneGUI (Terrain terrain, TerrainTools.IOnSceneGUI editContext);

パラメーター

terrain Active Terrain object.
editContext Interface for communication between Editor and Paint tools.

説明

Custom terrain tool OnSceneGUI callback.

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

Additional resources: Editor.OnSceneGUI, SceneView, TerrainPaintTool_1.OnRenderBrushPreview.