Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool LineBoxIntersection
(
const UE::Math::TBox< FReal >& Box, |
Determines whether a line intersects a box. | Math/UnrealMathUtility.h | |
static bool LineBoxIntersection
(
const UE::Math::TBox< FReal >& Box, |
Determines whether a line intersects a box. | Math/UnrealMathUtility.h |
LineBoxIntersection(const UE::Math::TBox< FReal > &, const UE::Math::TVector< FReal > &, const UE::Math::TVector< FReal > &, const UE::Math::TVector< FReal > &)
Description
Determines whether a line intersects a box.
| Name | LineBoxIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
| Source | /Engine/Source/Runtime/Core/Public/Math/Box.h |
template<typename FReal>
static bool LineBoxIntersection
(
const UE::Math::TBox < FReal > & Box,
const UE::Math::TVector < FReal > & Start,
const UE::Math::TVector < FReal > & End,
const UE::Math::TVector < FReal > & Direction
)
LineBoxIntersection(const UE::Math::TBox< FReal > &, const UE::Math::TVector< FReal > &, const UE::Math::TVector< FReal > &, const UE::Math::TVector< FReal > &, const UE::Math::TVector< FReal > &)
Description
Determines whether a line intersects a box. This overload avoids the need to do the reciprocal every time.
| Name | LineBoxIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
| Source | /Engine/Source/Runtime/Core/Public/Math/Box.h |
template<typename FReal>
static bool LineBoxIntersection
(
const UE::Math::TBox < FReal > & Box,
const UE::Math::TVector < FReal > & Start,
const UE::Math::TVector < FReal > & End,
const UE::Math::TVector < FReal > & Direction,
const UE::Math::TVector < FReal > & OneOverDirection
)