FSplinePositionLinearApproximation::Build

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss