Module |
|
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
(
const FSplineCurves & InCurves,
TArray< FSplinePositionLinearApproximation > & OutPoints,
float InDensity
)
Build a linear approximation to the passed-in spline curves.
Parameter |
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. |