USplineComponent::GetTransformAtTime

Given a time from 0 to the spline duration, return the spline's transform at the corresponding position.

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 GetTransformAtTime
(
    float Time,
    ESplineCoordinateSpace::Type CoordinateSpace,
    bool bUseConstantVelocity,
    bool bUseScale
) const

Remarks

Given a time from 0 to the spline duration, return the spline's transform at the corresponding position.