Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_30
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolyPathFunctions.h |
| Include | #include "GeometryScript/PolyPathFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/PolyPathFunctions.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"GeometryScript&124;PolyPath", Meta&61;&40;ScriptMethod&41;&41;
static int32 GetNearestVertexIndex
&40;
FGeometryScriptPolyPath PolyPath,
FVector Point
&41;
Remarks
Find the index of the vertex closest to a given point. Returns -1 if the PolyPath has no vertices.