Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Intersection > API/Runtime/GeometryCore/Intersection/IntersectionUtil__LineSphereInte-
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionUtil.h |
| Include | #include "Intersection/IntersectionUtil.h" |
namespace IntersectionUtil
{
template<typename RealType>
bool IntersectionUtil&58;&58;LineSphereIntersection
&40;
const TVector< RealType > & LineOrigin,
const TVector< RealType > & LineDirection,
const TVector< RealType > & SphereCenter,
RealType SphereRadius,
FLinearIntersection & ResultOut
&41;
}
Remarks
Intersect line with sphere and return intersection info (# hits, ray parameters) true if line intersects sphere