TMeshAABBTree3::FindNearestVertex

Find the Vertex closest to P, and distance to it, within distance MaxDist, or return InvalidID

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h

Include

#include "Spatial/MeshAABBTree3.h"

Syntax

virtual int FindNearestVertex
(
    const FVector3d & P,
    double & NearestDistSqr,
    double MaxDist,
    const FQueryOptions & Options
)

Remarks

Find the Vertex closest to P, and distance to it, within distance MaxDist, or return InvalidID