Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Rect.MinMaxRect

Declaration

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.