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