Skip to main content

Vertex to Rect

vertex to rect

Use Vertex to Rect to create a rectangle by specifying its 4 corner positions. Vertex to Rect is in the Utility category.

Input

NameData TypeDescription
Top leftVec2The vertex pixel position of the rectangle’s top left corner.
Top rightVec2The vertex pixel position of the rectangle’s top right corner.
Bottom leftVec2The vertex pixel position of the rectangle’s bottom left corner.
Bottom rightVec2The vertex pixel position of the rectangle’s bottom right corner.

Output

NameData TypeDescription
New RectRectThe generated rectangle.