![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GenericOctree.h>
Public Types | |
| using | FReal = FVector4::FReal |
Public Member Functions | |
| FBoxCenterAndExtent () | |
| FBoxCenterAndExtent (const FVector &InCenter, const FVector &InExtent) | |
| FBoxCenterAndExtent (const FBox &Box) | |
| template<typename TExtent > | |
| FBoxCenterAndExtent (const UE::Math::TBoxSphereBounds< FReal, TExtent > &BoxSphere) | |
| FBoxCenterAndExtent (const float PositionRadius[4]) | |
| FBox | GetBox () const |
Public Attributes | |
| FVector4 | Center |
| FVector4 | Extent |
Friends | |
| bool | Intersect (const FBoxCenterAndExtent &A, const FBoxCenterAndExtent &B) |
| template<typename TExtent > | |
| bool | Intersect (const UE::Math::TBoxSphereBounds< FReal, TExtent > &A, const FBoxCenterAndExtent &B) |
| bool | Intersect (const float A[4], const FBoxCenterAndExtent &B) |
An unquantized bounding box.
|
inline |
Default constructor.
|
inline |
Initialization constructor.
|
inline |
FBox conversion constructor.
|
inlineexplicit |
FBoxSphereBounds conversion constructor.
|
inlineexplicit |
Center - radius as four contiguous floats conversion constructor.
|
inline |
Converts to a FBox.
|
friend |
Determines whether two boxes intersect. Warning: this operates on the W of the bounds positions!
|
friend |
Determines whether two boxes intersect. Warning: this operates on the W of the bounds positions!
| A | box given in center - radius form as four contiguous floats |
|
friend |
Determines whether two boxes intersect. Warning: this operates on the W of the bounds positions!
| FVector4 FBoxCenterAndExtent::Center |
| FVector4 FBoxCenterAndExtent::Extent |