Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USplineComponent
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 |
UFUNCTION (BlueprintCallable, Category=Spline)
float GetInputKeyValueAtDistanceAlongSpline
(
float Distance
) const
Remarks
Given a distance along the length of this spline, return the corresponding input key at that point with a fractional component between the current input key and the next as a percentage.