/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshBakerCommon.h
Find nearest triangle from the given ray
a pointer to the mesh whose triangle was intersected, nullptr otherwise.
virtual const void * FindNearestHitTriangle ( const FRay3d & Ray, double & NearestT, int & TriId, FVector3d & TriBaryCoords, const [IMeshSpatial::FQueryOptions](API\Runtime\GeometryCore\Spatial\IMeshSpatial\FQueryOptions) & Options ) const