Choose your operating system:
Windows
macOS
Linux
| IMeshSpatial::FindNearestTriangle()
|
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h |
Include |
#include "Spatial/MeshAABBTree3.h" |
virtual int FindNearestTriangle
(
const FVector3d & P,
double & NearestDistSqr,
const FQueryOptions & Options
) const
Find the triangle closest to P, and distance to it, within distance MaxDist, or return InvalidID Use MeshQueries.TriangleDistance() to get more information