Choose your operating system:
Windows
macOS
Linux
| TBox
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/CoreFwd.h |
Include |
#include "CoreFwd.h" |
template<typename T>
struct TBox
Name | Description | |
---|---|---|
|
TBox() |
Default constructor (no initialization). |
|
TBox ( |
Creates and initializes a new box with zero extent and marks it as invalid. |
|
TBox |
Creates and initializes a new box from an array of points. |
|
TBox ( |
Conversion from other type. |
|
TBox |
Creates and initializes a new box from the specified extents. |
|
TBox |
Creates and initializes a new box from the given set of points. |
Name | Description | ||
---|---|---|---|
|
TBox< T > |
BuildAABB |
Utility function to build an AABB from Origin and Extent |
|
T |
ComputeSquaredDistanceToBox ( |
Calculates squared distance between two boxes. |
|
T |
ComputeSquaredDistanceToPoint ( |
Calculates the distance of a point to this box. |
|
Equals ( |
Check against another box for equality, within specified error limits. |
|
|
TBox< T > |
ExpandBy |
Returns a box of increased size. |
|
TBox< T > |
ExpandBy ( |
Returns a box of increased size. |
|
TBox< T > |
ExpandBy ( |
Returns a box of increased size. |
|
TVector< T > |
GetCenter() |
Gets the center point of this box. |
|
GetCenterAndExtents |
Gets the center and extents of this box. |
|
|
TVector< T > |
GetClosestPointTo ( |
Calculates the closest point on or inside the box to a given point in space. |
|
TVector< T > |
GetExtent() |
Gets the extents of this box. |
|
TVector< T > |
GetSize() |
Gets the size of this box. |
|
T |
GetVolume() |
Gets the volume of this box. |
|
Init() |
Set the initial values of the bounding box to Zero. |
|
|
Intersect ( |
Checks whether the given bounding box intersects this bounding box. |
|
|
IntersectXY ( |
Checks whether the given bounding box intersects this bounding box in the XY plane. |
|
|
TBox< T > |
InverseTransformBy ( |
Gets a bounding volume transformed by an inverted FTransform object. |
|
IsInside ( |
Checks whether a given box is fully encapsulated by this box. |
|
|
IsInside ( |
Checks whether the given location is inside this box. |
|
|
IsInsideOrOn ( |
Checks whether the given location is inside or on this box. |
|
|
IsInsideOrOnXY ( |
Checks whether the given location is inside or on this box in the XY plane. |
|
|
IsInsideXY ( |
Checks whether the given location is inside this box in the XY plane. |
|
|
IsInsideXY ( |
Checks whether the given box is fully encapsulated by this box in the XY plane. |
|
|
TBox< T > |
MoveTo ( |
Returns a box with its center moved to the new destination. |
|
TBox< T > |
Overlap ( |
Returns the overlap TBox |
|
Serialize ( |
||
|
Serialize ( |
||
|
SerializeFromMismatchedTag |
||
|
TBox< T > |
ShiftBy ( |
Returns a box with its position shifted. |
|
ToString() |
Get a textual representation of this box. |
|
|
TBox< T > |
TransformBy ( |
Gets a bounding volume transformed by a matrix. |
|
TBox< T > |
TransformBy ( |
Gets a bounding volume transformed by a FTransform object. |
|
TBox< T > |
TransformProjectBy ( |
Returns the current world bounding box transformed and projected to screen space |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Compares two boxes for inequality. |
|
|
TVector< T >... |
operator[] ( |
Gets reference to the min or max of this bounding volume. |
|
TBox< T > |
operator+ ( |
Gets the result of addition to this bounding volume. |
|
TBox< T > |
operator+ ( |
Gets the result of addition to this bounding volume. |
|
TBox< T > & |
operator+= ( |
Adds to this bounding box to include a new bounding volume. |
|
TBox< T > & |
operator+= ( |
Adds to this bounding box to include a given point. TBox |
|
operator== ( |
Compares two boxes for equality. |
Name |
Description |
---|---|
FReal |
Name | Description | ||
---|---|---|---|
|
TVector< T >... |
GetExtrema ( |
This method performed unsafe operations and should be replaced with using .Min and .Max directly or using the [] operator on this class instead. |
|
const TVecto... |
GetExtrema ( |
This method performed unsafe operations and should be replaced with using .Min and .Max directly or using the [] operator on this class instead. |