Version: 2017.3

Rect.MinMaxRect

Switch to Manual
public static Rect MinMaxRect (float xmin, float ymin, float xmax, float ymax);

Parameters

xmin The minimum X coordinate.
ymin The minimum Y coordinate.
xmax The maximum X coordinate.
ymax The maximum Y coordinate.

Returns

Rect A rectangle matching the specified coordinates.

Description

Creates a rectangle from min/max coordinate values.