TMeshAABBTree3::FindNearestVertex

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