Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Data/PCGSplineStruct.h |
| Include | #include "Data/PCGSplineStruct.h" |
Syntax
USTRUCT&40;&41;
struct FPCGSplineStruct
Remarks
Subset of the Spline Component API in a standalone struct
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bClosedLoop | ||
| FBoxSphereBounds | Bounds | ||
| FVector | DefaultUpVector | ||
| FBoxSphereBounds | LocalBounds | ||
| int32 | ReparamStepsPerSegment | ||
| FSplineCurves | SplineCurves | ||
| FTransform | Transform | Replaces the component trasnform. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPoint
(
const FSplinePoint& InSplinePoint, |
Spline-related methods. | |
| void | AddPoints
(
const TArray< FSplinePoint >& InSplinePoints, |
Spline-related methods. | |
| void | ApplyTo
(
USplineComponent* InSplineComponent |
||
| float | FindInputKeyClosestToWorldLocation
(
const FVector& WorldLocation |
||
| FBox | GetBounds () |
||
| FVector::FReal | GetDistanceAlongSplineAtSplinePoint
(
int32 PointIndex |
||
| FVector | GetLocationAtDistanceAlongSpline
(
FVector::FReal Distance, |
||
| FVector | GetLocationAtSplineInputKey
(
float InKey, |
||
| int | |||
| FQuat | GetQuaternionAtSplineInputKey
(
float InKey, |
||
| FVector | GetRightVectorAtSplineInputKey
(
float InKey, |
||
| FVector | GetScaleAtSplineInputKey
(
float InKey |
||
| FVector::FReal | |||
| const FInterpCurveVector & | |||
| const FInterpCurveVector & | |||
| FTransform | GetTransform () |
||
| FTransform | GetTransformAtDistanceAlongSpline
(
FVector::FReal Distance, |
||
| FTransform | GetTransformAtSplineInputKey
(
float InKey, |
||
| void | Initialize
(
USplineComponent* InSplineComponent |
||
| void | Initialize
(
const TArray< FSplinePoint >& InSplinePoints, |
||
| bool | IsClosedLoop () |
||
| void | UpdateSpline () |