Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TBox2
Description
Get the center and extents
| Name | GetCenterAndExtents |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
void GetCenterAndExtents
(
TVector2 < T > & center,
TVector2 < T > & Extents
) const
Parameters
| Name | Remarks |
|---|---|
| center[out] | reference to center point |
| Extents[out] | reference to the extent around the center |