Method | Description | |
---|---|---|
GetBottomCenter ( |
Gets the position of the center of the bottom edge of the rectangle.
|
|
GetIntersectionDepth ( |
Calculates the signed depth of intersection between two rectangles.
|
Method | Description | |
---|---|---|
RectangleExtensions ( ) : System |
public static GetBottomCenter ( |
||
rect | ||
return | Vector2 |
public static GetIntersectionDepth ( |
||
rectA | ||
rectB | ||
return | Vector2 |