![]() |
Dungeon Architect
17.0.0
|
Represents an integer rectangle More...
Public Member Functions | |
| Rectangle (int x, int z, int width, int length) | |
| Rectangle (IntVector location, IntVector size) | |
| void | SetY (int y) |
| IntVector | Center () |
| Vector3 | CenterF () |
| bool | Contains (Rectangle rect) |
| bool | Contains (IntVector Point) |
| bool | Contains (int x, int z) |
| bool | IntersectsWith (Rectangle rect) |
| IntVector[] | GetBorderPoints () |
Static Public Member Functions | |
| static Vector3 | ToVector3 (IntVector iv) |
| static Rectangle | Intersect (Rectangle a, Rectangle b) |
| static Rectangle | ExpandBounds (Rectangle rect, int distance) |
Public Attributes | |
| IntVector | location |
| IntVector | size |
Properties | |
| IntVector | Location [get, set] |
| IntVector | Size [get, set] |
| int | X [get] |
| int | Z [get] |
| int | Width [get] |
| int | Length [get] |
| int | Left [get] |
| int | Right [get] |
| int | Back [get] |
| int | Front [get] |
Represents an integer rectangle
Definition at line 12 of file Rectangle.cs.