/Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolyPathFunctions.h
Find the index of the vertex closest to a given point. Returns -1 if the PolyPath has no vertices.
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="GeometryScript|PolyPath", Meta=(ScriptMethod)) static int32 GetNearestVertexIndex ( [FGeometryScriptPolyPath](API\Plugins\GeometryScriptingCore\GeometryScript\FGeometryScriptPolyPath) PolyPath, FVector Point )