Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TBox2
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TBox2 () |
Default constructor (no initialization). | Math/Box2D.h | |
TBox2
(
EForceInit |
Creates and initializes a new box. | Math/Box2D.h | |
| Creates and initializes a new box from an array of points. | Math/Box2D.h | ||
| Conversion from other type. | Math/Box2D.h | ||
| Creates and initializes a new box from the specified parameters. | Math/Box2D.h | ||
| Creates and initializes a new box from the given set of points. | Math/Box2D.h |
TBox2()
Description
Default constructor (no initialization).
| Name | TBox2 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
TBox2()
TBox2(EForceInit)
Description
Creates and initializes a new box.
The box extents are initialized to zero and the box is marked as invalid.
| Name | TBox2 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
TBox2
(
EForceInit
)
Parameters
| Name | Remarks |
|---|---|
| EForceInit | Force Init Enum. |
TBox2(const TArray< TVector2< T > > &)
Description
Creates and initializes a new box from an array of points.
| Name | TBox2 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
TBox2
(
const TArray < TVector2 < T > > & Points
)
Parameters
| Name | Remarks |
|---|---|
| Points | Array of Points to create for the bounding volume. |
TBox2(const TBox2< FArg > &)
Description
Conversion from other type.
| Name | TBox2 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
template<typename FArg, std::enable_if_t<(!std::is_same_v< T, FArg >), int >>
TBox2
(
const TBox2 < FArg > & From
)
TBox2(const TVector2< T > &, const TVector2< T > &)
Description
Creates and initializes a new box from the specified parameters.
| Name | TBox2 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
TBox2
(
const TVector2 < T > & InMin,
const TVector2 < T > & InMax
)
Parameters
| Name | Remarks |
|---|---|
| InMin | The box's minimum point. |
| InMax | The box's maximum point. |
TBox2(const TVector2< T > *, const int32)
Description
Creates and initializes a new box from the given set of points.
TBox2 inline functions
| Name | TBox2 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
TBox2
(
const TVector2 < T > * Points,
const int32 Count
)
Parameters
| Name | Remarks |
|---|---|
| Points | Array of Points to create for the bounding volume. |
| Count | The number of points. |