Rect

Class Name Description
Rect.Compose Compose Rect.
Rect.ComposeMinMax Create Rect from Min and Max.
Rect.ComposeMinMaxVec Create Rect from Min and Max.
Rect.ComposeVec Compose Rect.
Rect.Contains Whether the Point is inside the Rect.
Rect.Decompose Decompose Rect into position and size.
Rect.DecomposeMinMax Decompose Rect into Min and Max.
Rect.DecomposeMinMaxVec Decompose Rect into Min and Max.
Rect.DecomposeVec Decompose Rect into position and size.
Rect.Equals Returns true if the rectangles are the same.
Rect.GetCenter Returns the position of the center of the rectangle.
Rect.GetHeight Returns the height of the rectangle.
Rect.GetMax Returns the position of the maximum corner of the rect.
Rect.GetMin Returns the position of the minimum corner of the rect.
Rect.GetPosition Returns the position of the rect.
Rect.GetSize Returns the size of the rect.
Rect.GetWidth Returns the width of the rectangle.
Rect.GetX Returns the X component of the rectangle.
Rect.GetXMax Returns the XMax component of the rectangle.
Rect.GetXMin Returns the XMin component of the rectangle.
Rect.GetY Returns the Y component of the rectangle.
Rect.GetYMax Returns the YMax component of the rectangle.
Rect.GetYMin Returns the YMin component of the rectangle.
Rect.NormalizedToPoint Calculates a point inside a rectangle, given normalized coordinates.
Rect.NotEquals Returns true if the rectangles are not the same.
Rect.Overlaps Whether rectangles overlap each other or not.
Rect.PointToNormalized Calculates the normalized coordinates cooresponding the the point.
Rect.SetCenter Sets the position of the center of the rectangle.
Rect.SetHeight Sets the height of the rectangle.
Rect.SetMax Sets the position of the maximum corner of the rect.
Rect.SetMin Sets the position of the minimum corner of the rect.
Rect.SetPosition Sets the position of the rect.
Rect.SetSize Sets the size of the rect.
Rect.SetWidth Sets the width of the rectangle.
Rect.SetX Sets the X component of the rectangle.
Rect.SetXMax Sets the XMax component of the rectangle.
Rect.SetXMin Sets the XMin component of the rectangle.
Rect.SetY Sets the Y component of the rectangle.
Rect.SetYMax Sets the YMax component of the rectangle.
Rect.SetYMin Sets the YMin component of the rectangle.
Rect.ToString Returns a formatted string of Rect.