FRay::ClosestPoint

Find closest point on ray to query point

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Ray.h

Include

#include "Math/Ray.h"

Syntax

FVector ClosestPoint
(
    const FVector & Point
) const

Remarks

Find closest point on ray to query point

Returns

closest point on Ray

Parameters

Parameter

Description

Point

query point

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