Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/TMeshAABBTree3
- IMeshSpatial::FindNearestTriangle()
- TMeshAABBTree3::FindNearestTriangle()
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h |
| Include | #include "Spatial/MeshAABBTree3.h" |
virtual int FindNearestTriangle
&40;
const FVector3d & P,
double & NearestDistSqr,
const FQueryOptions & Options
&41; const
Remarks
Find the triangle closest to P, and distance to it, within distance MaxDist, or return InvalidID Use MeshQueries.TriangleDistance() to get more information