Méthode | 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.
|
Méthode | Description | |
---|---|---|
RectangleExtensions ( ) : System |
public static GetBottomCenter ( |
||
rect | ||
Résultat | Vector2 |
public static GetIntersectionDepth ( |
||
rectA | ||
rectB | ||
Résultat | Vector2 |