Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath > API/Runtime/Core/Math/FMath/LineBoxIntersection
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include | #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
)
Remarks
Determines whether a line intersects a box.