USplineComponent::GetSegmentParamFromLength

Returns the parametric value t which would result in a spline segment of the given length between S(0)...S(t)

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

float GetSegmentParamFromLength
(
    const int32 Index,
    const float Length,
    const float SegmentLength
) const

Remarks

Returns the parametric value t which would result in a spline segment of the given length between S(0)...S(t)

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