Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/OrientedBox.h |
| Include | #include "Math/OrientedBox.h" |
Syntax
struct FOrientedBox
Remarks
Structure for arbitrarily oriented boxes (not necessarily axis-aligned).
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | AxisX | Holds the x-axis vector of the box. Must be a unit vector. | |
| FVector | AxisY | Holds the y-axis vector of the box. Must be a unit vector. | |
| FVector | AxisZ | Holds the z-axis vector of the box. Must be a unit vector. | |
| FVector | Center | Holds the center of the box. | |
| FVector::FReal | ExtentX | Holds the extent of the box along its x-axis. | |
| FVector::FReal | ExtentY | Holds the extent of the box along its y-axis. | |
| FVector::FReal | ExtentZ | Holds the extent of the box along its z-axis. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOrientedBox () |
Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CalcVertices
(
FVector* Verts |
Fills in the Verts array with the eight vertices of the box. | |
| FFloatInterval | Finds the projection interval of the box when projected onto Axis. |