IntersectionUtil::RaySphereIntersection

Overload list

Windows
MacOS
Linux
Name Description

Public function

FLinearInter...

 

IntersectionUtil::RaySphereIntersection

(
    const FVector3< RealType >& RayOri...,
    const FVector3< RealType >& RayDir...,
    const FVector3< RealType >& Sphere...,
    RealType SphereRadius
)

Public function

bool

 

IntersectionUtil::RaySphereIntersection

(
    const FVector3< RealType >& RayOri...,
    const FVector3< RealType >& RayDir...,
    const FVector3< RealType >& Sphere...,
    RealType SphereRadius,
    FLinearIntersection& Result
)

Intersect ray with sphere and return intersection info (# hits, ray parameters)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss