Use Vertex to Rect to create a rectangle by specifying its 4 corner positions. Vertex to Rect is in the Utility category.
Name | Data Type | Description |
---|
Top left | Vec2 | The vertex pixel position of the rectangle’s top left corner. |
Top right | Vec2 | The vertex pixel position of the rectangle’s top right corner. |
Bottom left | Vec2 | The vertex pixel position of the rectangle’s bottom left corner. |
Bottom right | Vec2 | The vertex pixel position of the rectangle’s bottom right corner. |
Output
Name | Data Type | Description |
---|
New Rect | Rect | The generated rectangle. |