Experimental: this API is experimental and might be changed or removed in the future.

IOnSceneGUI

interface in UnityEditor.Experimental.TerrainAPI

切换到手册

描述

此接口为地形绘制工具的 OnSceneGUI 事件提供参数和实用函数。

变量

brushSize只读。采用地形单位的当前画笔大小(相当于世界单位的大小)。
brushStrength只读。当前画笔强度。
brushTexture只读。当前所选的画笔纹理。
sceneView只读。SceneView 对象。

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