IntersectionUtil::LineSphereTest

Test if line intersects sphere

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Intersection/IntersectionUtil.h

Include

#include "Intersection/IntersectionUtil.h"

Syntax

namespace IntersectionUtil
{
    template<typename RealType>
    bool IntersectionUtil::LineSphereTest
    (
        const FVector3< RealType > & LineOrigin,
        const FVector3< RealType > & LineDirection,
        const FVector3< RealType > & SphereCenter,
        RealType SphereRadius
    )
}

Remarks

Test if line intersects sphere

Returns

true if line intersects sphere

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