Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool LineSphereIntersection
(
const UE::Math::TVector< FReal >& Start, |
Determines whether a line intersects a sphere. | Math/UnrealMathUtility.h | |
bool LineSphereIntersection
(
const UE::Math::TVector< T >& Start, |
Math/Vector.h |
LineSphereIntersection(const UE::Math::TVector< FReal > &, const UE::Math::TVector< FReal > &, FReal, const UE::Math::TVector< FReal > &, FReal)
Description
Determines whether a line intersects a sphere.
| Name | LineSphereIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<typename FReal>
static bool LineSphereIntersection
(
const UE::Math::TVector < FReal > & Start,
const UE::Math::TVector < FReal > & Dir,
FReal Length,
const UE::Math::TVector < FReal > & Origin,
FReal Radius
)
LineSphereIntersection(const UE::Math::TVector< T > &, const UE::Math::TVector< T > &, T, const UE::Math::TVector< T > &, T)
| Name | LineSphereIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector.h |
| Include Path | #include "Math/Vector.h" |
template<typename T>
bool LineSphereIntersection
(
const UE::Math::TVector < T > & Start,
const UE::Math::TVector < T > & Dir,
T Length,
const UE::Math::TVector < T > & Origin,
T Radius
)