GetBrushOffset(int, int)
Gets the brush offset within the brush bounds.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public Vector2Int GetBrushOffset(int xPos, int yPos)
Parameters
Returns
Type | Description |
|---|---|
| Vector2Int | Returns the brush offset. |