Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/FSplinePositionLinearApproximati-
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h |
Include | #include "Components/SplineComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp |
static void Build
&40;
const FSplineCurves & InCurves,
TArray< FSplinePositionLinearApproximation > & OutPoints,
float InDensity
&41;
Remarks
Build a linear approximation to the passed-in spline curves.
Parameters
Name | Description |
---|---|
InCurves | The curves to approximate |
OutPoints | The array of points to fill as a linear approximation |
InDensity | Scalar applied to determine how many points are generated in the approximation. 1.0 = one point per distance unit. |