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 |
float GetInputKeyAtDistanceAlongSpline
&40;
float Distance
&41; const
Remarks
Given a distance along the length of this spline, return the corresponding input key at that point This method has been deprecated because it was incorrectly returning the input key at time. To maintain the same behavior, replace it with GetTimeAtDistanceAlongSpline. To actually get the input key, instead call GetInputKeyValueAtDistanceAlongSpline.