IOnPaint
interface in UnityEditor.Experimental.TerrainAPI
Description 描述
Interface that provides parameters and utility functions for the OnPaint event of the terrain paint tools.
See Also: TerrainPaintTool<T0>.OnPaint.
Properties 属性
| brushSize | Read Only. Current brush size in terrain units (equivalent size to world units). | ||
| brushStrength | Read Only. Current brush strength. | ||
| brushTexture | Read Only. Current selected brush texture. | ||
| uv | Read Only. The normalized position (between 0 and 1) on the active terrain. |
Public Methods 公共方法
| Repaint | Instructs the Editor to repaint the tool UI, the Scene view, or both. |