Navigation
API > API/Runtime > API/Runtime/GeometryCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearIntersection IntersectionUtil::RaySphereIntersection
(
const TVector< RealType >& RayOrigin, |
Intersection/IntersectionUtil.h | ||
bool IntersectionUtil::RaySphereIntersection
(
const TVector< RealType >& RayOrigin, |
Intersect ray with sphere and return intersection info (# hits, ray parameters) | Intersection/IntersectionUtil.h |
IntersectionUtil::RaySphereIntersection(const TVector< RealType > &, const TVector< RealType > &, const TVector< RealType > &, RealType)
| Name | IntersectionUtil::RaySphereIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionUtil.h |
| Include Path | #include "Intersection/IntersectionUtil.h" |
namespace IntersectionUtil
{
template<typename RealType>
FLinearIntersection IntersectionUtil::RaySphereIntersection
(
const TVector < RealType > & RayOrigin,
const TVector < RealType > & RayDirection,
const TVector < RealType > & SphereCenter,
RealType SphereRadius
)
}
IntersectionUtil::RaySphereIntersection(const TVector< RealType > &, const TVector< RealType > &, const TVector< RealType > &, RealType, FLinearIntersection &)
Description
Intersect ray with sphere and return intersection info (# hits, ray parameters)
| Name | IntersectionUtil::RaySphereIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionUtil.h |
| Include Path | #include "Intersection/IntersectionUtil.h" |
namespace IntersectionUtil
{
template<typename RealType>
bool IntersectionUtil::RaySphereIntersection
(
const TVector < RealType > & RayOrigin,
const TVector < RealType > & RayDirection,
const TVector < RealType > & SphereCenter,
RealType SphereRadius,
FLinearIntersection & Result
)
}
true if ray intersects sphere