![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <OrientedBox.h>
Public Member Functions | |
| FOrientedBox () | |
| void | CalcVertices (FVector *Verts) const |
| FFloatInterval | Project (const FVector &Axis) const |
Public Attributes | |
| FVector | Center |
| FVector | AxisX |
| FVector | AxisY |
| FVector | AxisZ |
| FVector::FReal | ExtentX |
| FVector::FReal | ExtentY |
| FVector::FReal | ExtentZ |
Structure for arbitrarily oriented boxes (not necessarily axis-aligned).
|
inline |
Default constructor.
Constructs a unit-sized, origin-centered box with axes aligned to the coordinate system.
Fills in the Verts array with the eight vertices of the box.
| Verts | The array to fill in with the vertices. |
|
inline |
Finds the projection interval of the box when projected onto Axis.
| Axis | The unit vector defining the axis to project the box onto. |
| FVector FOrientedBox::AxisX |
Holds the x-axis vector of the box. Must be a unit vector.
| FVector FOrientedBox::AxisY |
Holds the y-axis vector of the box. Must be a unit vector.
| FVector FOrientedBox::AxisZ |
Holds the z-axis vector of the box. Must be a unit vector.
| FVector FOrientedBox::Center |
Holds the center of the box.
| FVector::FReal FOrientedBox::ExtentX |
Holds the extent of the box along its x-axis.
| FVector::FReal FOrientedBox::ExtentY |
Holds the extent of the box along its y-axis.
| FVector::FReal FOrientedBox::ExtentZ |
Holds the extent of the box along its z-axis.