IntersectionUtil::RaySphereTest

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::RaySphereTest
    (
        const FVector3< RealType > & RayOrigin,
        const FVector3< RealType > & RayDirection,
        const FVector3< RealType > & SphereCenter,
        RealType SphereRadius
    )
}

Returns

true if ray 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