FSplinePositionLinearApproximation::Build

Build a linear approximation to the passed-in spline curves.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

static void Build
(
    const FSplineCurves & InCurves,
    TArray< FSplinePositionLinearApproximation > & OutPoints,
    float InDensity
)

Remarks

Build a linear approximation to the passed-in spline curves.

Parameters

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.