Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TBox2
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include | #include "Math/Box2D.h" |
static TBox2 < T > BuildAABB
(
const TVector2 < T > & Origin,
const TVector2 < T > & Extent
)
Remarks
Utility function to build an AABB from Origin and Extent A new axis-aligned bounding box.
Parameters
| Name | Description |
|---|---|
| Origin | The location of the bounding box. |
| Extent | Half size of the bounding box. |