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"&41;
static void SampleSplineToTransforms
&40;
const USplineComponent &42; Spline,
TArray< FTransform > & Frames,
TArray< double > & FrameTimes,
FGeometryScriptSplineSamplingOptions SamplingOptions,
FTransform RelativeTransform,
bool bIncludeScale
&41;
Remarks
Sample a USplineComponent into a list of FTransforms, based on the given SamplingOptions.
Parameters
| Name | Description |
|---|---|
| Frames | Transforms are returned here, with X axis oriented along spline Tangent and Z as the 'Up' vector. |
| FrameTimes | the spline Time value used for each Frame |
| RelativeTransform | a constant Transform applied to each sample Transform in its local frame of reference. So, eg, an X Rotation will rotate each frame around the local spline Tangent vector |
| bIncludeScale | if true, the Scale of each FTransform is taken from the Spline, otherwise the Transforms have unit scale |