Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_PolyPathF-
Description
Returns the 3D position of the requested vertex in the PolyPath. If the Index does not correspond to a vertex in the PolyPath, a Zero Vector (0,0,0) will be returned.
| Name | GetPolyPathVertex |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolyPathFunctions.h |
| Include Path | #include "GeometryScript/PolyPathFunctions.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Private/PolyPathFunctions.cpp |
UFUNCTION (BlueprintPure, Category="GeometryScript|PolyPath", Meta=(ScriptMethod))
static FVector GetPolyPathVertex
(
FGeometryScriptPolyPath PolyPath,
int Index,
bool & bIsValidIndex
)
Parameters
| Name | Remarks |
|---|---|
| Index | specifies a vertex in the PolyPath. |
| bIsValidIndex | will be false on return if the Index is not included in the PolyPath. |