USplineComponent::GetTangentAtDistanceAlongSpline

Given a distance along the length of this spline, return the tangent vector of the spline there.

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

FVector GetTangentAtDistanceAlongSpline
(
    float Distance,
    ESplineCoordinateSpace::Type CoordinateSpace
) const

Remarks

Given a distance along the length of this spline, return the tangent vector of the spline there.