Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
| Name | UGeometryScriptLibrary_PolyPathFunctions |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolyPathFunctions.h |
| Include Path | #include "GeometryScript/PolyPathFunctions.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="GeometryScript_PolyPath"))
class UGeometryScriptLibrary_PolyPathFunctions : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UGeometryScriptLibrary_PolyPathFunctions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIncludeScale | TArray< FTransform > TArray< double > FGeometryScriptSplineSamplingOptionsFTransform bool | GeometryScript/PolyPathFunctions.h | ||
| DropAxis | EGeometryScriptAxis | GeometryScript/PolyPathFunctions.h | ||
| EndAngle | float int float float | GeometryScript/PolyPathFunctions.h | ||
| Frames | TArray< FTransform > & | GeometryScript/PolyPathFunctions.h | ||
| FrameTimes | TArray< FTransform > TArray< double > & | GeometryScript/PolyPathFunctions.h | ||
| NumPoints | float int | GeometryScript/PolyPathFunctions.h | ||
| Radius | float | GeometryScript/PolyPathFunctions.h | ||
| RelativeTransform | TArray< FTransform > TArray< double > FGeometryScriptSplineSamplingOptionsFTransform | GeometryScript/PolyPathFunctions.h | ||
| SamplingOptions | TArray< FTransform > TArray< double > FGeometryScriptSplineSamplingOptions | GeometryScript/PolyPathFunctions.h | ||
| StartAngle | float int float | GeometryScript/PolyPathFunctions.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGeometryScriptPolyPath Conv_ArrayOfVector2DToGeometryScriptPolyPath
(
const TArray< FVector2D >& PathVertices |
Returns a PolyPath created from an array of 2D position vectors. | GeometryScript/PolyPathFunctions.h |
|
static FGeometryScriptPolyPath Conv_ArrayToGeometryScriptPolyPath
(
const TArray< FVector >& PathVertices |
Returns a PolyPath created from an array of 3D position vectors. | GeometryScript/PolyPathFunctions.h |
|
static TArray< FVector > Conv_GeometryScriptPolyPathToArray
(
FGeometryScriptPolyPath PolyPath |
Returns an array of 3D vectors with the PolyPath vertex locations. | GeometryScript/PolyPathFunctions.h |
|
static TArray< FVector2D > Conv_GeometryScriptPolyPathToArrayOfVector2D
(
FGeometryScriptPolyPath PolyPath |
Returns an array of 2D Vectors with the PolyPath vertex locations projected onto the XY plane. | GeometryScript/PolyPathFunctions.h |
|
static void ConvertArrayOfVector2DToPolyPath
(
const TArray< FVector2D >& VertexArray, |
Creates a PolyPath from an array of 2D position vectors. | GeometryScript/PolyPathFunctions.h |
|
static void ConvertArrayToPolyPath
(
const TArray< FVector >& VertexArray, |
Creates a PolyPath from an array of 3D position vectors. | GeometryScript/PolyPathFunctions.h |
|
static void ConvertPolyPathToArray
(
FGeometryScriptPolyPath PolyPath, |
Populates an array of 3D vectors with the PolyPath vertex locations. | GeometryScript/PolyPathFunctions.h |
|
static void ConvertPolyPathToArrayOfVector2D
(
FGeometryScriptPolyPath PolyPath, |
Creates an array of 2D Vectors with the PolyPath vertex locations projected onto the XY plane. | GeometryScript/PolyPathFunctions.h |
|
static void ConvertSplineToPolyPath
(
const USplineComponent* Spline, |
Sample positions from a USplineComponent into a PolyPath, based on the given SamplingOptions | GeometryScript/PolyPathFunctions.h |
|
static int32 GetNearestVertexIndex
(
FGeometryScriptPolyPath PolyPath, |
Find the index of the vertex closest to a given point. Returns -1 if the PolyPath has no vertices. | GeometryScript/PolyPathFunctions.h |
|
static double GetPolyPathArcLength
(
FGeometryScriptPolyPath PolyPath |
Returns the length of the PolyPath. | GeometryScript/PolyPathFunctions.h |
|
static int GetPolyPathLastIndex
(
FGeometryScriptPolyPath PolyPath |
Returns the index of the last vertex in the PolyPath. | GeometryScript/PolyPathFunctions.h |
|
static int GetPolyPathNumVertices
(
FGeometryScriptPolyPath PolyPath |
Returns the number of vertices in the the PolyPath. | GeometryScript/PolyPathFunctions.h |
|
static FVector GetPolyPathTangent
(
FGeometryScriptPolyPath PolyPath, |
Returns the local tangent vector of the PolyPath at the specified vertex index. | GeometryScript/PolyPathFunctions.h |
|
static FVector GetPolyPathVertex
(
FGeometryScriptPolyPath PolyPath, |
Returns the 3D position of the requested vertex in the PolyPath. | GeometryScript/PolyPathFunctions.h |
|
static static UPARAM
(
DisplayName |
Create a 2D, flattened copy of the path by dropping the given axis, and using the other two coordinates as the new X, Y coordinates. | GeometryScript/PolyPathFunctions.h |
|
static static UPARAM
(
DisplayName |
Create a closed circle around the origin on the XY plane, then transformed by Transform. | GeometryScript/PolyPathFunctions.h |
|
static static UPARAM
(
DisplayName |
Create an open arc around the origin on the XY plane, then transformed by Transform. | GeometryScript/PolyPathFunctions.h |
|
static static UPARAM
(
DisplayName |
Create a closed circle on the XY plane around the given Center. | GeometryScript/PolyPathFunctions.h |
|
static static UPARAM
(
DisplayName |
Create an open arc on the XY plane around the given Center. | GeometryScript/PolyPathFunctions.h |
|
static static UPARAM
(
DisplayName |
Sample a USplineComponent into a list of FTransforms, based on the given SamplingOptions. | GeometryScript/PolyPathFunctions.h |
|