USplineComponent::GetWorldDirectionAtTime

Given a time from 0 to the spline duration, return a unit direction vector of the spline tangent 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"

Syntax

FVector GetWorldDirectionAtTime
(
    float Time,
    bool bUseConstantVelocity
) const

Remarks

Given a time from 0 to the spline duration, return a unit direction vector of the spline tangent there.