USplineComponent::GetTransformAtDistanceAlongSpline

Given a distance along the length of this spline, return an FTransform corresponding to that point on the spline.

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

FTransform GetTransformAtDistanceAlongSpline
(
    float Distance,
    ESplineCoordinateSpace::Type CoordinateSpace,
    bool bUseScale
) const

Remarks

Given a distance along the length of this spline, return an FTransform corresponding to that point on the spline.