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