GetBrushOffset(int, int)
Gets the brush offset within the brush bounds.
阅读时间1 分钟最后更新于 2 小时前
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public Vector2Int GetBrushOffset(int xPos, int yPos)
Parameters
Returns
Type | Description |
|---|---|
| Vector2Int | Returns the brush offset. |