Method WorldPointToUV
WorldPointToUV(Vector3)
Convert a point in world space to terrain UV [0-1] space.
public Vector2 WorldPointToUV(Vector3 point)
Parameters
point
Vector3World position, Y component will be omitted.
Returns
- Vector2
The UV position for texture sampling.