ToBrushUV(Vector2)
Applies the transform to convert a target XY coordinate to Brush UV space.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.TerrainTools
- Assembly: UnityEngine.TerrainModule
public Vector2 ToBrushUV(Vector2 targetXY)
Parameters
Point in target XY space.
Returns
Type | Description |
|---|---|
| Vector2 | Point transformed to Brush UV space. |