Skip to content

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.

Vec2

The UV coordinates, where x and y are in the range [0, 1].

Rect2

The rectangle defining the UV space.

Point2

The point in pixel coordinates.