uvToPoint2
uvToPoint2(
uv,rect):Point2
Defined in: coordinate-spaces.ts:55
Converts UV coordinates to a point in pixel coordinates relative to a given rectangle.
Parameters
Section titled “Parameters”Vec2
The UV coordinates, where x and y are in the range [0, 1].
The rectangle defining the UV space.
Returns
Section titled “Returns”The point in pixel coordinates.