Represents an Axis-Aligned Bounding Box (AABB).
More...
|
| | AABB (Bounds bounds) |
| | Constructs an AABB from a Unity Bounds object. More...
|
| |
| | AABB (Vector3 center, Vector3 extents) |
| | Constructs an AABB from a center point and extents. More...
|
| |
| | AABB (Vector3 center, Vector3 pointA, Vector3 pointB) |
| | Constructs an AABB from a center point that encapsulate two other points. More...
|
| |
|
| readonly Vector3 | Center |
| | Represents the center of the AABB. More...
|
| |
| readonly Vector3 | Extents |
| | Represents the extents (half-widths) of the AABB. More...
|
| |
| readonly Vector3 | Max |
| | Represents the maximum point (upper corner) of the AABB. More...
|
| |
| readonly Vector3 | Min |
| | Represents the minimum point (lower corner) of the AABB. More...
|
| |
Represents an Axis-Aligned Bounding Box (AABB).
◆ AABB() [1/3]
Constructs an AABB from a Unity Bounds object.
- Parameters
-
| bounds | The Unity Bounds object to construct the AABB from. |
◆ AABB() [2/3]
| AABB |
( |
Vector3 |
center, |
|
|
Vector3 |
extents |
|
) |
| |
Constructs an AABB from a center point and extents.
- Parameters
-
| center | The center point of the AABB. |
| extents | The extents (half-widths) of the AABB. |
◆ AABB() [3/3]
| AABB |
( |
Vector3 |
center, |
|
|
Vector3 |
pointA, |
|
|
Vector3 |
pointB |
|
) |
| |
Constructs an AABB from a center point that encapsulate two other points.
◆ Center
Represents the center of the AABB.
◆ Extents
Represents the extents (half-widths) of the AABB.
◆ Max
Represents the maximum point (upper corner) of the AABB.
◆ Min
Represents the minimum point (lower corner) of the AABB.