Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TBoxSphereBounds
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | Math/BoxSphereBounds.h | ||
| Creates and initializes a new instance. | Math/BoxSphereBounds.h | ||
TBoxSphereBounds
(
const TBox< T >& Box |
Creates and initializes a new instance the given Box. | Math/BoxSphereBounds.h | |
TBoxSphereBounds
(
const TSphere< T >& Sphere |
Creates and initializes a new instance for the given sphere. | Math/BoxSphereBounds.h | |
TBoxSphereBounds
(
const TBoxSphereBounds< TFrom, TExtentFrom >& From |
Conversion to other type. | Math/BoxSphereBounds.h | |
TBoxSphereBounds
(
const TBox< T >& Box, |
Creates and initializes a new instance from the given Box and Sphere. | Math/BoxSphereBounds.h | |
TBoxSphereBounds
(
const TVector< T >* Points, |
Creates and initializes a new instance from the given set of points. | Math/BoxSphereBounds.h | |
TBoxSphereBounds
(
const TVector< T >& InOrigin, |
Creates and initializes a new instance from the specified parameters. | Math/BoxSphereBounds.h |
TBoxSphereBounds()
Description
Default constructor.
| Name | TBoxSphereBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h |
| Include Path | #include "Math/BoxSphereBounds.h" |
TBoxSphereBounds()
TBoxSphereBounds(EForceInit)
Description
Creates and initializes a new instance.
| Name | TBoxSphereBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h |
| Include Path | #include "Math/BoxSphereBounds.h" |
TBoxSphereBounds
(
EForceInit
)
Parameters
| Name | Remarks |
|---|---|
| EForceInit | Force Init Enum. |
TBoxSphereBounds(const TBox< T > &)
Description
Creates and initializes a new instance the given Box.
The sphere radius is taken from the extent of the box.
| Name | TBoxSphereBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h |
| Include Path | #include "Math/BoxSphereBounds.h" |
TBoxSphereBounds
(
const TBox < T > & Box
)
Parameters
| Name | Remarks |
|---|---|
| Box | The bounding box. |
TBoxSphereBounds(const TSphere< T > &)
Description
Creates and initializes a new instance for the given sphere.
| Name | TBoxSphereBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h |
| Include Path | #include "Math/BoxSphereBounds.h" |
TBoxSphereBounds
(
const TSphere < T > & Sphere
)
TBoxSphereBounds(const TBoxSphereBounds< TFrom, TExtentFrom > &)
Description
Conversion to other type.
| Name | TBoxSphereBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h |
| Include Path | #include "Math/BoxSphereBounds.h" |
template<typename TFrom, typename TExtentFrom, std::enable_if_t<(!(std::is_same_v< T, TFrom > &&std::is_same_v< TExtent, TExtentFrom >)), int >>
TBoxSphereBounds
(
const TBoxSphereBounds < TFrom, TExtentFrom > & From
)
TBoxSphereBounds(const TBox< T > &, const TSphere< T > &)
Description
Creates and initializes a new instance from the given Box and Sphere.
| Name | TBoxSphereBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h |
| Include Path | #include "Math/BoxSphereBounds.h" |
TBoxSphereBounds
(
const TBox < T > & Box,
const TSphere < T > & Sphere
)
Parameters
| Name | Remarks |
|---|---|
| Box | The bounding box. |
| Sphere | The bounding sphere. |
TBoxSphereBounds(const TVector< T > *, uint32)
Description
Creates and initializes a new instance from the given set of points.
The sphere radius is taken from the extent of the box.
| Name | TBoxSphereBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h |
| Include Path | #include "Math/BoxSphereBounds.h" |
TBoxSphereBounds
(
const TVector < T > * Points,
uint32 NumPoints
)
Parameters
| Name | Remarks |
|---|---|
| Points | The points to be considered for the bounding box. |
| NumPoints | Number of points in the Points array. |
TBoxSphereBounds(const TVector< T > &, const TVector< TExtent > &, TExtent)
Description
Creates and initializes a new instance from the specified parameters.
| Name | TBoxSphereBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h |
| Include Path | #include "Math/BoxSphereBounds.h" |
TBoxSphereBounds
(
const TVector < T > & InOrigin,
const TVector < TExtent > & InBoxExtent,
TExtent InSphereRadius
)
Parameters
| Name | Remarks |
|---|---|
| InOrigin | origin of the bounding box and sphere. |
| InBoxExtent | half size of box. |
| InSphereRadius | radius of the sphere. |